From 9657fdc29fd74061b6830fabee9970588d2c8521 Mon Sep 17 00:00:00 2001 From: Nikki Nikkonor <110825664+Paymir121@users.noreply.github.com> Date: Sun, 21 Jan 2024 14:22:36 +0300 Subject: [PATCH] fix --- backend/users/tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/users/tests.py b/backend/users/tests.py index 19b0c86..d5c6a87 100644 --- a/backend/users/tests.py +++ b/backend/users/tests.py @@ -24,7 +24,7 @@ def setUpClass(cls): "password": "qwertyqwerty123", } cls.response_registration = cls.client.post( - "/api/users/", cls.test_user_data + "/api/v2/users/", cls.test_user_data ) @classmethod @@ -45,10 +45,10 @@ def test_registration(self): def test_authentication(self): response_registration = self.response_registration response_token_login = self.client.post( - "/api/auth/token/login/", self.test_user_data + "/api/v2/auth/token/login/", self.test_user_data ) response_auth = self.client.get( - "/api/users/me/", + "/api/v2/users/me/", HTTP_AUTHORIZATION=f'Token {response_token_login.data["auth_token"]}', ) self.assertEqual(