Skip to content

Commit

Permalink
Updated tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
shirblc committed Dec 22, 2020
1 parent 717c383 commit b08fc76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@ def test_get_user_outbox_as_admin(self):
self.assertEqual(response.status_code, 200)
self.assertEqual(response_data['current_page'], 1)
self.assertEqual(response_data['total_pages'], 1)
self.assertEqual(len(response_data['messages']), 5)
self.assertEqual(len(response_data['messages']), 3)

# Attempt to get a user's threads mailbox with an admin's JWT
def test_get_user_threads_as_admin(self):
Expand All @@ -1284,7 +1284,7 @@ def test_get_user_threads_as_admin(self):
self.assertEqual(response.status_code, 200)
self.assertEqual(response_data['current_page'], 1)
self.assertEqual(response_data['total_pages'], 1)
self.assertEqual(len(response_data['messages']), 3)
self.assertEqual(len(response_data['messages']), 2)

# Attempt to get another user's messages with an admin's JWT
def test_get_another_users_messages_as_admin(self):
Expand Down

0 comments on commit b08fc76

Please sign in to comment.