Fix VideoHandlingTest
authorAlex Gleason <alex@alexgleason.me>
Tue, 7 Dec 2021 18:35:34 +0000 (13:35 -0500)
committerAlex Gleason <alex@alexgleason.me>
Tue, 7 Dec 2021 18:35:34 +0000 (13:35 -0500)
test/pleroma/web/activity_pub/transmogrifier/video_handling_test.exs

index 62b4a2cb37ba2d6f9a1274472897e551e41100da..93b139a778399363fbf08567376683423f3ea080 100644 (file)
@@ -61,7 +61,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" => nil,
+                   "width" => 480,
                    "height" => nil
                  }
                ]
@@ -87,7 +87,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.VideoHandlingTest do
                    "mediaType" => "video/mp4",
                    "type" => "Link",
                    "width" => nil,
-                   "height" => nil
+                   "height" => 1080
                  }
                ]
              }
@@ -119,7 +119,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.VideoHandlingTest do
                    "mediaType" => "video/mp4",
                    "type" => "Link",
                    "width" => nil,
-                   "height" => nil
+                   "height" => 1080
                  }
                ]
              }