diff --git a/multitenancy/subscriptions/tests/test_views.py b/multitenancy/subscriptions/tests/test_views.py index c49268f..3336c6a 100755 --- a/multitenancy/subscriptions/tests/test_views.py +++ b/multitenancy/subscriptions/tests/test_views.py @@ -143,7 +143,9 @@ def test_redirect_to_login_page_when_user_not_authenticated(self): # Assert that the response is a redirect to the login page self.assertEqual(response.status_code, 302) - self.assertEqual(response.url, "/login/") + self.assertEqual( + response.url, "/admin/acounts/login/?next=/admin/billing/plans/" + ) # class TestCreatePlanView(unittest.TestCase):