bypass icon indicating copy to clipboard operation
bypass copied to clipboard

failed assertions kill bypass process

Open trinode opened this issue 6 years ago • 1 comments

When asserting in bypass, bypass dies and responds with a 500 no matter what

Server: localhost:55394 (http)
Request: GET /api/v2/accounts
** (exit) an exception was raised:
    ** (ExUnit.AssertionError)

Assertion with == failed
code:  assert Plug.Conn.get_req_header(conn, "content-type") == ["application/json"]
left:  []
right: ["application/json"]

(This is since upgrading to the latest elixir / phoenix)

It used to wait until the end of the test to check the asserts, is there now something special to do?

trinode avatar Dec 16 '18 14:12 trinode

Do you have an example to reproduce this issue?

ream88 avatar Apr 20 '20 12:04 ream88