mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-04 07:16:36 +00:00
Updates base activity tests for updated Image type
This commit is contained in:
parent
5a24c97cb5
commit
bb8ce74f52
1 changed files with 3 additions and 3 deletions
|
@ -123,7 +123,7 @@ class BaseActivity(TestCase):
|
||||||
summary="",
|
summary="",
|
||||||
publicKey={"id": "hi", "owner": self.user.remote_id, "publicKeyPem": "hi"},
|
publicKey={"id": "hi", "owner": self.user.remote_id, "publicKeyPem": "hi"},
|
||||||
endpoints={},
|
endpoints={},
|
||||||
icon={"type": "Image", "url": "http://www.example.com/image.jpg"},
|
icon={"type": "Document", "url": "http://www.example.com/image.jpg"},
|
||||||
)
|
)
|
||||||
|
|
||||||
responses.add(
|
responses.add(
|
||||||
|
@ -194,7 +194,7 @@ class BaseActivity(TestCase):
|
||||||
{
|
{
|
||||||
"url": "http://www.example.com/image.jpg",
|
"url": "http://www.example.com/image.jpg",
|
||||||
"name": "alt text",
|
"name": "alt text",
|
||||||
"type": "Image",
|
"type": "Document",
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@ -224,7 +224,7 @@ class BaseActivity(TestCase):
|
||||||
data = {
|
data = {
|
||||||
"url": "http://www.example.com/image.jpg",
|
"url": "http://www.example.com/image.jpg",
|
||||||
"name": "alt text",
|
"name": "alt text",
|
||||||
"type": "Image",
|
"type": "Document",
|
||||||
}
|
}
|
||||||
responses.add(
|
responses.add(
|
||||||
responses.GET,
|
responses.GET,
|
||||||
|
|
Loading…
Reference in a new issue