Skip to content

Commit

Permalink
patch: update test results (#1086)
Browse files Browse the repository at this point in the history
  • Loading branch information
tinashechiraya authored Oct 4, 2024
1 parent 592afa3 commit 2f19ff6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django_project/minisass_authentication/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def setUp(self):

def test_not_authenticated(self):
response = self.client.get(self.url)
self.assertEquals(response.status_code, 401)
self.assertEquals(response.status_code, 403)

def test_update_works(self):
self.client.force_authenticate(self.user)
Expand Down Expand Up @@ -339,7 +339,7 @@ def test_check_authentication_status_authenticated(self):

def test_check_authentication_status_unauthenticated(self):
response = self.client.get(self.url)
self.assertEquals(response.status_code, 401)
self.assertEquals(response.status_code, 403)
self.assertEquals(
response.json(),
{'detail': 'Authentication credentials were not provided.'}
Expand Down

0 comments on commit 2f19ff6

Please sign in to comment.