Skip to content

Commit

Permalink
fix failing tests due to copy change (capitalise auth_provider) #42
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed May 2, 2020
1 parent 9a30bbf commit 7032b8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/auth_web/controllers/auth_controller_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ defmodule AuthWeb.AuthControllerTest do
person = Auth.Person.create_person(data) # |> IO.inspect(label: "person")
conn = AuthPlug.create_jwt_session(conn, Map.merge(data, %{id: person.id}))
conn = get(conn, "/profile", %{})
assert html_response(conn, 200) =~ "google account"
assert html_response(conn, 200) =~ "Google account"
# assert html_response(conn, 302) =~ "redirected"
end

Expand Down Expand Up @@ -90,7 +90,7 @@ defmodule AuthWeb.AuthControllerTest do
conn = get(conn, "/auth/google/callback",
%{code: "234", state: nil})

assert html_response(conn, 200) =~ "google account"
assert html_response(conn, 200) =~ "Google account"
# assert html_response(conn, 302) =~ "redirected"
end

Expand Down

0 comments on commit 7032b8b

Please sign in to comment.