Updates inbox remove tests

This commit is contained in:
Mouse Reeve 2021-04-08 15:46:06 -07:00
parent 6310532ddf
commit 32bf510755

View file

@ -58,10 +58,10 @@ class InboxRemove(TestCase):
"type": "Remove",
"actor": "https://example.com/users/rat",
"object": {
"type": "Edition",
"title": "Test Title",
"work": self.work.remote_id,
"id": "https//bookwyrm.social/book/37292",
"actor": self.local_user.remote_id,
"type": "ShelfItem",
"book": self.book.remote_id,
"id": shelfbook.remote_id,
},
"target": "https://bookwyrm.social/user/mouse/shelf/to-read",
"@context": "https://www.w3.org/ns/activitystreams",
@ -88,10 +88,10 @@ class InboxRemove(TestCase):
"type": "Remove",
"actor": "https://example.com/users/rat",
"object": {
"type": "Edition",
"title": "Test Title",
"work": self.work.remote_id,
"id": "https://bookwyrm.social/book/37292",
"actor": self.local_user.remote_id,
"type": "ListItem",
"book": self.book.remote_id,
"id": listitem.remote_id,
},
"target": booklist.remote_id,
"@context": "https://www.w3.org/ns/activitystreams",