Browse Source

fix last test

Rafał Pitoń 8 years ago
parent
commit
80ad4e7a7a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      misago/threads/tests/test_search.py

+ 2 - 0
misago/threads/tests/test_search.py

@@ -135,6 +135,8 @@ class SearchApiTests(AuthenticatedUserTestCase):
     def test_thread_title_search(self):
         """api searches threads by title"""
         thread = testutils.post_thread(self.category, title="Atmosphere of mars")
+        self.index_post(thread.first_post)
+
         post = testutils.reply_thread(thread, message="Lorem ipsum dolor.")
         self.index_post(post)