From fb25ef138573afa590856fa5face798d113c349c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simon=20K=C3=BCnzel?= <simonk@fsmpi.rwth-aachen.de>
Date: Sun, 13 Apr 2025 19:50:49 +0200
Subject: [PATCH] Fix tests

---
 api/tests/routes/resources.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/tests/routes/resources.py b/api/tests/routes/resources.py
index c0d22e4..b379dff 100644
--- a/api/tests/routes/resources.py
+++ b/api/tests/routes/resources.py
@@ -60,7 +60,7 @@ class ResourcesTest(ApiTest):
             headers=[
                 ("X-Original-URI", re.sub("http", "invalidurlmodification", resp.headers["Location"]))
             ],
-            expected_response_status=HTTP_401_UNAUTHORIZED,
+            expected_response_status=HTTP_400_BAD_REQUEST,
         )
         self.do_json_request(
             "GET",
-- 
GitLab