From e7e25605ff64f3c2de696e693d4eb9a2e1aa10d8 Mon Sep 17 00:00:00 2001 From: Emil Goldsmith Olesen Date: Thu, 6 Jun 2019 17:08:20 +0200 Subject: [PATCH] Stop enforcing csrf checks in GraphQLTestCase --- graphene_django/utils/testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphene_django/utils/testing.py b/graphene_django/utils/testing.py index 47f8d04..db3e9f4 100644 --- a/graphene_django/utils/testing.py +++ b/graphene_django/utils/testing.py @@ -22,7 +22,7 @@ class GraphQLTestCase(TestCase): "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): """