summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-12-07 21:55:54 -0500
committerAlex Gleason <alex@alexgleason.me>2021-12-07 21:55:54 -0500
commit01cc099c8ef40efe72b611bc0925a62e5dfd057d (patch)
tree6ad57ecc0eb0f07f33c4e91caf2b7d6b6b67824f
parent992d9287d06d6b000a34a0a73124c516b1504ce5 (diff)
VideoHandlingTest: remove nil valuesfix-attachment-dimensions
-rw-r--r--test/pleroma/web/activity_pub/transmogrifier/video_handling_test.exs5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/pleroma/web/activity_pub/transmogrifier/video_handling_test.exs b/test/pleroma/web/activity_pub/transmogrifier/video_handling_test.exs
index 29a75701b..87c53ebf4 100644
--- a/test/pleroma/web/activity_pub/transmogrifier/video_handling_test.exs
+++ b/test/pleroma/web/activity_pub/transmogrifier/video_handling_test.exs
@@ -59,8 +59,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.VideoHandlingTest do
"https://peertube.moe/static/webseed/df5f464b-be8d-46fb-ad81-2d4c2d1630e3-480.mp4",
"mediaType" => "video/mp4",
"type" => "Link",
- "width" => 480,
- "height" => nil
+ "width" => 480
}
]
}
@@ -82,7 +81,6 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.VideoHandlingTest do
"https://framatube.org/static/webseed/6050732a-8a7a-43d4-a6cd-809525a1d206-1080.mp4",
"mediaType" => "video/mp4",
"type" => "Link",
- "width" => nil,
"height" => 1080
}
]
@@ -112,7 +110,6 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.VideoHandlingTest do
"https://peertube.stream/static/streaming-playlists/hls/abece3c3-b9c6-47f4-8040-f3eed8c602e6/abece3c3-b9c6-47f4-8040-f3eed8c602e6-1080-fragmented.mp4",
"mediaType" => "video/mp4",
"type" => "Link",
- "width" => nil,
"height" => 1080
}
]