mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-11 01:35:28 +00:00
Correct status order
This commit is contained in:
parent
7b5bee8d7b
commit
2c7a6e8518
1 changed files with 2 additions and 2 deletions
|
@ -107,8 +107,8 @@ class Activitystreams(TestCase):
|
|||
redis_mock.return_value = [status.id, status2.id]
|
||||
result = self.test_stream.get_activity_stream(self.local_user)
|
||||
self.assertEqual(result.count(), 2)
|
||||
self.assertEqual(result.first(), status)
|
||||
self.assertEqual(result.last(), status2)
|
||||
self.assertEqual(result.first(), status2)
|
||||
self.assertEqual(result.last(), status)
|
||||
self.assertIsInstance(result.last(), models.Comment)
|
||||
|
||||
def test_abstractstream_get_audience(self, *_):
|
||||
|
|
Loading…
Reference in a new issue