- commit
- 223c3556a74d9ba34d82205a6efa3ee1409be88b
- parent
- 88410c1eb197349531c306d8a9599f6560496acd
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-01-03 21:45
fix test: POST for logout required starting with django 5.0
Diffstat
| M | tests/tests.py | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.py b/tests/tests.py
@@ -282,7 +282,7 @@ class MFAEnforceMiddlewareTest(MFATestCase): 282 282 283 283 def test_public(self): 284 284 self.login()285 -1 res = self.client.get('/logout/')-1 285 res = self.client.post('/logout/') 286 286 self.assertEqual(res.status_code, 302) 287 287 self.assertEqual(res.url, '/') 288 288