mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-25 19:14:11 +03:00
Stop enforcing csrf checks in GraphQLTestCase (#658)
This commit is contained in:
parent
c90c27f364
commit
3cde872e28
|
@ -22,7 +22,7 @@ class GraphQLTestCase(TestCase):
|
||||||
"Variable GRAPHQL_SCHEMA not defined in GraphQLTestCase."
|
"Variable GRAPHQL_SCHEMA not defined in GraphQLTestCase."
|
||||||
)
|
)
|
||||||
|
|
||||||
cls._client = Client(cls.GRAPHQL_SCHEMA)
|
cls._client = Client()
|
||||||
|
|
||||||
def query(self, query, op_name=None, input_data=None):
|
def query(self, query, op_name=None, input_data=None):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user