Updates inbox remove tests
This commit is contained in:
@ -58,10 +58,10 @@ class InboxRemove(TestCase):
|
|||||||
"type": "Remove",
|
"type": "Remove",
|
||||||
"actor": "https://example.com/users/rat",
|
"actor": "https://example.com/users/rat",
|
||||||
"object": {
|
"object": {
|
||||||
"type": "Edition",
|
"actor": self.local_user.remote_id,
|
||||||
"title": "Test Title",
|
"type": "ShelfItem",
|
||||||
"work": self.work.remote_id,
|
"book": self.book.remote_id,
|
||||||
"id": "https//bookwyrm.social/book/37292",
|
"id": shelfbook.remote_id,
|
||||||
},
|
},
|
||||||
"target": "https://bookwyrm.social/user/mouse/shelf/to-read",
|
"target": "https://bookwyrm.social/user/mouse/shelf/to-read",
|
||||||
"@context": "https://www.w3.org/ns/activitystreams",
|
"@context": "https://www.w3.org/ns/activitystreams",
|
||||||
@ -88,10 +88,10 @@ class InboxRemove(TestCase):
|
|||||||
"type": "Remove",
|
"type": "Remove",
|
||||||
"actor": "https://example.com/users/rat",
|
"actor": "https://example.com/users/rat",
|
||||||
"object": {
|
"object": {
|
||||||
"type": "Edition",
|
"actor": self.local_user.remote_id,
|
||||||
"title": "Test Title",
|
"type": "ListItem",
|
||||||
"work": self.work.remote_id,
|
"book": self.book.remote_id,
|
||||||
"id": "https://bookwyrm.social/book/37292",
|
"id": listitem.remote_id,
|
||||||
},
|
},
|
||||||
"target": booklist.remote_id,
|
"target": booklist.remote_id,
|
||||||
"@context": "https://www.w3.org/ns/activitystreams",
|
"@context": "https://www.w3.org/ns/activitystreams",
|
||||||
|
Reference in New Issue
Block a user