Merge pull request #923 from SavinaRoja/584-sorting-lists

584 sorting of lists
This commit is contained in:
Mouse Reeve
2021-04-19 14:37:50 -07:00
committed by GitHub
13 changed files with 2148 additions and 297 deletions

View File

@ -94,6 +94,7 @@ class InboxAdd(TestCase):
"type": "ListItem",
"book": self.book.remote_id,
"id": "https://bookwyrm.social/listbook/6189",
"order": 1,
},
"target": "https://bookwyrm.social/user/mouse/list/to-read",
"@context": "https://www.w3.org/ns/activitystreams",

View File

@ -80,6 +80,7 @@ class InboxRemove(TestCase):
user=self.local_user,
book=self.book,
book_list=booklist,
order=1,
)
self.assertEqual(booklist.books.count(), 1)