cura/cura-9702.patch
2021-05-10 10:47:12 +02:00

25 lines
698 B
Diff

From e26cf6f8102b5d7010a74b9257007d34e70b9ea8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gabriel=20F=C3=A9ron?= <g@leirbag.net>
Date: Mon, 26 Apr 2021 11:07:11 +0200
Subject: [PATCH] Fix test_wrongServerResponses
---
tests/TestOAuth2.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestOAuth2.py b/tests/TestOAuth2.py
index 6b7e28917..731a31690 100644
--- a/tests/TestOAuth2.py
+++ b/tests/TestOAuth2.py
@@ -46,7 +46,7 @@ NO_REFRESH_AUTH_RESPONSE = AuthenticationResponse(
success = True
)
-MALFORMED_AUTH_RESPONSE = AuthenticationResponse()
+MALFORMED_AUTH_RESPONSE = AuthenticationResponse(success=False)
def test_cleanAuthService() -> None:
--
2.31.1