Skip to content

Commit

Permalink
Fix unused variable in test
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielpra1 committed Nov 30, 2020
1 parent b2b6d74 commit 6cd9331
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/middlewares/field_authorization_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ defmodule Rajska.FieldAuthorizationTest do
{:ok, result} = Absinthe.run("{ getNotScoped { phone } }", __MODULE__.Schema, context(:user, 2))

assert %{data: %{"getNotScoped" => data}} = result
assert is_binary(data["phone"])
refute Map.has_key?(result, :errors)
end

Expand Down

0 comments on commit 6cd9331

Please sign in to comment.