Skip to content

Commit

Permalink
Update user test #40
Browse files Browse the repository at this point in the history
  • Loading branch information
WayneLambert committed Jul 28, 2020
1 parent 5a30854 commit cb84479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion users/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_profile_update_view_inaccessible_another_user(request, factory, li_prim
request = factory.get(path)
request.user = li_sec_user
response = profile_update(request, kwargs=li_prim_user.username)
assert response.status_code == 403, 'Should return with an `forbidden` status code'
assert response.status_code == 404, 'Should return with a `page not found` status code'


@pytest.mark.django_db
Expand Down

0 comments on commit cb84479

Please sign in to comment.