diff --git a/bookwyrm/tests/views/inbox/test_inbox_remove.py b/bookwyrm/tests/views/inbox/test_inbox_remove.py index 778f5077..e19ea11b 100644 --- a/bookwyrm/tests/views/inbox/test_inbox_remove.py +++ b/bookwyrm/tests/views/inbox/test_inbox_remove.py @@ -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",