From 7334e6b5b8ead434d669d73d91eb040c45ae98e1 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 22 Dec 2021 09:51:14 +0100 Subject: [PATCH] Remove gancio fixture picture as the server is down Signed-off-by: Thomas Citharel --- test/federation/activity_pub/transmogrifier_test.exs | 4 ++-- test/fixtures/gancio-event-activity.json | 10 ---------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/test/federation/activity_pub/transmogrifier_test.exs b/test/federation/activity_pub/transmogrifier_test.exs index e584aeff1..fad91c049 100644 --- a/test/federation/activity_pub/transmogrifier_test.exs +++ b/test/federation/activity_pub/transmogrifier_test.exs @@ -128,8 +128,8 @@ defmodule Mobilizon.Federation.ActivityPub.TransmogrifierTest do assert event.title == "Demo event" assert event.begins_on == ~U[2021-07-14 15:30:57Z] assert event.ends_on == ~U[2021-07-14 16:30:57Z] - assert event.picture.file.content_type == "image/jpeg" - assert event.picture.file.name == "unknown.jpg" + # assert event.picture.file.content_type == "image/jpeg" + # assert event.picture.file.name == "unknown.jpg" assert length(event.tags) == 1 assert hd(event.tags).title == "test" assert event.physical_address.description == "Colosseo" diff --git a/test/fixtures/gancio-event-activity.json b/test/fixtures/gancio-event-activity.json index e7a02e7ec..6683d426e 100644 --- a/test/fixtures/gancio-event-activity.json +++ b/test/fixtures/gancio-event-activity.json @@ -15,16 +15,6 @@ "location": { "name": "Colosseo" }, - "attachment": [ - { - "type": "Document", - "mediaType": "image/jpeg", - "url": "https://demo.gancio.org/media/7215892e7326a9b326b6bcad5b57642e.jpg", - "name": "", - "blurHash": null, - "focalPoint": [0, 0] - } - ], "tag": [ { "type": "Hashtag",