fix tests

This commit is contained in:
2022-02-25 22:17:30 -05:00
committed by oliviasculley
parent c10cff63ea
commit 1f92c452d1
11 changed files with 143 additions and 14 deletions

View File

@ -37,12 +37,6 @@ defmodule LokalWeb.UserRegistrationControllerTest do
}
assert redirected_to(conn) =~ "/"
# Now do a logged in request and assert on the menu
conn = get(conn, "/")
response = html_response(conn, 200)
# user's email is recorded as admin
assert response =~ email
end
test "render errors for invalid data", %{conn: conn} do