mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-16 11:12:20 +03:00
Issue #1111: foreign key should also call get_queryset method
This commit is contained in:
parent
bb03306075
commit
9b2d04234e
|
@ -1735,6 +1735,7 @@ def test_should_query_nullable_foreign_key():
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
result = schema.execute(query_pet, variables={"name": "Stray dog"})
|
result = schema.execute(query_pet, variables={"name": "Stray dog"})
|
||||||
assert not result.errors
|
assert not result.errors
|
||||||
assert result.data["pet"] == {
|
assert result.data["pet"] == {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user