Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed assertions kill bypass process #73

Open
trinode opened this issue Dec 16, 2018 · 1 comment
Open

failed assertions kill bypass process #73

trinode opened this issue Dec 16, 2018 · 1 comment
Labels
more info needed More information is needed for this issue to be resolved/worked on.

Comments

@trinode
Copy link

trinode commented Dec 16, 2018

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 trinode changed the title Assertions kill bypass failed assertions kill bypass process Dec 16, 2018
@ream88
Copy link
Collaborator

ream88 commented Apr 20, 2020

Do you have an example to reproduce this issue?

@ream88 ream88 added the more info needed More information is needed for this issue to be resolved/worked on. label Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more info needed More information is needed for this issue to be resolved/worked on.
Projects
None yet
Development

No branches or pull requests

2 participants