Skip to content

Commit

Permalink
Fix accounts tests
Browse files Browse the repository at this point in the history
  • Loading branch information
skanderm committed Jan 10, 2024
1 parent 74fec47 commit 0505ec7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/test/orcasite_web/graphql/accounts_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ defmodule OrcasiteWeb.GraphqlTest.AccountsTest do
assert %{
"data" => %{
"signInWithPassword" => %{
"user" => %{"email" => ^user_email, "admin" => nil, "moderator" => nil}
"user" => %{"email" => ^user_email, "admin" => false, "moderator" => false}
}
}
} =
Expand All @@ -66,7 +66,7 @@ defmodule OrcasiteWeb.GraphqlTest.AccountsTest do
assert %{
"data" => %{
"signInWithPassword" => %{
"user" => %{"email" => ^user_email, "admin" => nil, "moderator" => nil}
"user" => %{"email" => ^user_email, "admin" => false, "moderator" => false}
}
}
} =
Expand All @@ -76,7 +76,7 @@ defmodule OrcasiteWeb.GraphqlTest.AccountsTest do

assert %{
"data" => %{
"currentUser" => %{"email" => ^user_email, "admin" => nil, "moderator" => nil}
"currentUser" => %{"email" => ^user_email, "admin" => false, "moderator" => false}
}
} = json_response(conn, 200)

Expand Down

0 comments on commit 0505ec7

Please sign in to comment.