From bb8ce74f5205650e9b2b27d7fe0a1d49d877758e Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 15 Mar 2021 15:57:00 -0700 Subject: [PATCH] Updates base activity tests for updated Image type --- bookwyrm/tests/activitypub/test_base_activity.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bookwyrm/tests/activitypub/test_base_activity.py b/bookwyrm/tests/activitypub/test_base_activity.py index b3e282619..f3d3decde 100644 --- a/bookwyrm/tests/activitypub/test_base_activity.py +++ b/bookwyrm/tests/activitypub/test_base_activity.py @@ -123,7 +123,7 @@ class BaseActivity(TestCase): summary="", publicKey={"id": "hi", "owner": self.user.remote_id, "publicKeyPem": "hi"}, endpoints={}, - icon={"type": "Image", "url": "http://www.example.com/image.jpg"}, + icon={"type": "Document", "url": "http://www.example.com/image.jpg"}, ) responses.add( @@ -194,7 +194,7 @@ class BaseActivity(TestCase): { "url": "http://www.example.com/image.jpg", "name": "alt text", - "type": "Image", + "type": "Document", } ], ) @@ -224,7 +224,7 @@ class BaseActivity(TestCase): data = { "url": "http://www.example.com/image.jpg", "name": "alt text", - "type": "Image", + "type": "Document", } responses.add( responses.GET,