Rafał Pitoń 8 лет назад
Родитель
Сommit
6061da3a19
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      misago/threads/tests/test_thread_postmove_api.py

+ 1 - 0
misago/threads/tests/test_thread_postmove_api.py

@@ -222,6 +222,7 @@ class ThreadPostMoveApiTestCase(AuthenticatedUserTestCase):
         other_thread = testutils.post_thread(self.category)
 
         response = self.client.post(self.api_link, json.dumps({
+            'thread_url': other_thread.get_absolute_url(),
             'posts': [
                 testutils.reply_thread(other_thread, is_hidden=True).pk
             ]