Skip to content
Snippets Groups Projects
Commit 4890d3b1 authored by Kerdo Kurs's avatar Kerdo Kurs
Browse files

skip email constraint test for now #46

parent 8bf2165b
No related branches found
No related tags found
2 merge requests!12Resolve "FR-30: Profile page",!10Resolve "FR-30: Profile page"
Pipeline #43960 passed
......@@ -29,6 +29,8 @@ defmodule PropTrackrWeb.UserControllerTest do
assert html_response(conn, 200) =~ "Passwords do not match."
end
# TODO(Kerdo): Reintroduce this test when re-enabling already existing email constraint
@tag :skip
test "AC4: user sees an error if an account with the same email exists", %{conn: conn, user_params: user_params} do
Repo.insert!(%User{email: user_params[:email], password: "test123"})
conn = post(conn, "/register", user: user_params)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment