diff --git a/graphene_django/tests/test_query.py b/graphene_django/tests/test_query.py index e6ae64f..a73c68b 100644 --- a/graphene_django/tests/test_query.py +++ b/graphene_django/tests/test_query.py @@ -1735,6 +1735,7 @@ def test_should_query_nullable_foreign_key(): } } """ + result = schema.execute(query_pet, variables={"name": "Stray dog"}) assert not result.errors assert result.data["pet"] == {