From 3cde872e2873197ba99de5004d59a8888d5f2223 Mon Sep 17 00:00:00 2001 From: Emil Goldsmith Olesen Date: Mon, 10 Jun 2019 01:30:48 +0200 Subject: [PATCH] Stop enforcing csrf checks in GraphQLTestCase (#658) --- 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): """