From 811b5fec938f5d2d8fd4fe6275d3d6ac5a6d8fe8 Mon Sep 17 00:00:00 2001 From: Anders Bruun Severinsen <202204885@post.au.dk> Date: Sat, 29 Jun 2024 09:12:27 +0200 Subject: [PATCH] Fixed url test --- bartenders/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bartenders/tests.py b/bartenders/tests.py index 1880088..1433ff2 100644 --- a/bartenders/tests.py +++ b/bartenders/tests.py @@ -73,8 +73,8 @@ def test_sending_application(self): ) data["g-recaptcha-response"] = "PASSED" - response = self.client.post("/", data=data) - self.assertRedirects(response, "/") + response = self.client.post("/da/", data=data) + self.assertRedirects(response, "/da/") # Test that application was made self.assertTrue(BartenderApplication.objects.exists())