Browse Source

Fixed test case.

Rafał Pitoń 10 years ago
parent
commit
52ad25fd80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/threads/tests/test_editpost_view.py

+ 1 - 1
misago/threads/tests/test_editpost_view.py

@@ -70,7 +70,7 @@ class EditPostTests(AuthenticatedUserTestCase):
         override_acl(self.user, forums_acl)
 
         response = self.client.get(self.link, **self.ajax_header)
-        self.assertEqual(response.status_code, 403)
+        self.assertEqual(response.status_code, 404)
 
     def test_cant_edit_own_post_in_locked_forum(self):
         """can't edit own post in closed forum"""