Skip to content

Commit

Permalink
fix: redirect url incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
tekanokhambane committed Apr 20, 2024
1 parent db1969e commit b64fecd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion multitenancy/subscriptions/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit b64fecd

Please sign in to comment.