From 39b9aa86275fa2f71a1d68feaa516de675e26824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Valur=20J=C3=B3nsson?= Date: Thu, 8 Jun 2023 11:33:36 +0000 Subject: [PATCH] undo change to test --- tests/schema/test_permission.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/schema/test_permission.py b/tests/schema/test_permission.py index aade03ec3f..fe8a23ac07 100644 --- a/tests/schema/test_permission.py +++ b/tests/schema/test_permission.py @@ -76,6 +76,7 @@ async def user(self, info) -> typing.AsyncGenerator[str, None]: query = "subscription { user }" result = await schema.subscribe(query) + assert result.errors[0].message == "You are not authorized"