Skip to content

Commit

Permalink
Handled redirect testing2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaditcuy committed Mar 30, 2023
1 parent 1c70723 commit 9da13b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/forum/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ def test_thread_create_view(self):
response = self.client.post(url, data)
#print(response.status_code)
#print(response.content)
self.assertEqual(response.status_code, 302)
self.assertEqual(response.status_code, 200)
self.assertEqual(Thread.objects.count(), 1)

0 comments on commit 9da13b5

Please sign in to comment.