diff --git a/test/federation/activity_pub/transmogrifier/comments_test.exs b/test/federation/activity_pub/transmogrifier/comments_test.exs
index 8729ca512..1f0e95160 100644
--- a/test/federation/activity_pub/transmogrifier/comments_test.exs
+++ b/test/federation/activity_pub/transmogrifier/comments_test.exs
@@ -40,7 +40,7 @@ defmodule Mobilizon.Federation.ActivityPub.Transmogrifier.CommentsTest do
File.read!("test/fixtures/mastodon-post-activity.json")
|> Jason.decode!()
- reply_to_url = "https://soc.punktrash.club/objects/d811df79-6e54-4f51-841e-0c38bc356467"
+ reply_to_url = "https://fedi.absturztau.be/objects/1726cdc7-4f2a-4ddb-9c68-03d27c98c3d9"
object =
data["object"]
@@ -65,11 +65,11 @@ defmodule Mobilizon.Federation.ActivityPub.Transmogrifier.CommentsTest do
%Comment{} =
origin_comment =
Discussions.get_comment_from_url(
- "https://soc.punktrash.club/objects/d811df79-6e54-4f51-841e-0c38bc356467"
+ "https://fedi.absturztau.be/objects/1726cdc7-4f2a-4ddb-9c68-03d27c98c3d9"
)
assert returned_activity.data["object"]["inReplyTo"] ==
- "https://soc.punktrash.club/objects/d811df79-6e54-4f51-841e-0c38bc356467"
+ "https://fedi.absturztau.be/objects/1726cdc7-4f2a-4ddb-9c68-03d27c98c3d9"
assert returned_activity.data["object"]["inReplyTo"] == origin_comment.url
end
diff --git a/test/fixtures/pleroma-comment-object.json b/test/fixtures/pleroma-comment-object.json
index 2a5f4239b..6e954b0c6 100644
--- a/test/fixtures/pleroma-comment-object.json
+++ b/test/fixtures/pleroma-comment-object.json
@@ -1,25 +1,37 @@
{
"@context": [
"https://www.w3.org/ns/activitystreams",
- "https://soc.punktrash.club/schemas/litepub-0.1.jsonld",
+ "https://fedi.absturztau.be/schemas/litepub-0.1.jsonld",
{
"@language": "und"
}
],
- "actor": "https://soc.punktrash.club/users/jorin",
- "attachment": [],
- "attributedTo": "https://soc.punktrash.club/users/jorin",
- "cc": ["https://soc.punktrash.club/users/jorin/followers"],
- "content": "I live in Spain
The S is silent
And it's French
š„š",
- "context": "https://soc.punktrash.club/contexts/62eb8f27-c8ea-4cc3-818d-385ff96e4397",
- "conversation": "https://soc.punktrash.club/contexts/62eb8f27-c8ea-4cc3-818d-385ff96e4397",
- "id": "https://soc.punktrash.club/objects/d811df79-6e54-4f51-841e-0c38bc356467",
- "published": "2021-05-06T03:52:10.195835Z",
- "repliesCount": 1,
- "sensitive": false,
- "source": "I live in Spain\n\nThe S is silent\n\nAnd it's French\n\nš„š",
+ "actor": "https://fedi.absturztau.be/users/dqn",
+ "attachment": [
+ {
+ "mediaType": "image/jpeg",
+ "name": "",
+ "type": "Document",
+ "url": "https://fedi.absturztau.be/media/f96e58881c72844e8e233b78f7e53ab93d8308dcf2118e493fcf53d5cc968ea6.jpg?name=p5d85wsralb61.jpg"
+ }
+ ],
+ "attributedTo": "https://fedi.absturztau.be/users/dqn",
+ "cc": ["https://fedi.absturztau.be/users/dqn/followers"],
+ "content": "#animeirl
",
+ "context": "https://fedi.absturztau.be/contexts/4adddb80-0236-4e03-8a83-94be817b5dbe",
+ "conversation": "https://fedi.absturztau.be/contexts/4adddb80-0236-4e03-8a83-94be817b5dbe",
+ "id": "https://fedi.absturztau.be/objects/1726cdc7-4f2a-4ddb-9c68-03d27c98c3d9",
+ "published": "2021-06-07T09:00:04.292206Z",
+ "sensitive": null,
+ "source": "#animeirl",
"summary": "",
- "tag": [],
+ "tag": [
+ {
+ "href": "https://fedi.absturztau.be/tags/animeirl",
+ "name": "#animeirl",
+ "type": "Hashtag"
+ }
+ ],
"to": ["https://www.w3.org/ns/activitystreams#Public"],
"type": "Note"
}