Fix VideoHandlingTest

This commit is contained in:
Alex Gleason 2021-12-07 13:35:34 -05:00
parent 3f03d71ea6
commit 335684182a
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ test "it remaps video URLs as attachments if necessary" do
"https://peertube.moe/static/webseed/df5f464b-be8d-46fb-ad81-2d4c2d1630e3-480.mp4", "https://peertube.moe/static/webseed/df5f464b-be8d-46fb-ad81-2d4c2d1630e3-480.mp4",
"mediaType" => "video/mp4", "mediaType" => "video/mp4",
"type" => "Link", "type" => "Link",
"width" => nil, "width" => 480,
"height" => nil "height" => nil
} }
] ]
@ -87,7 +87,7 @@ test "it remaps video URLs as attachments if necessary" do
"mediaType" => "video/mp4", "mediaType" => "video/mp4",
"type" => "Link", "type" => "Link",
"width" => nil, "width" => nil,
"height" => nil "height" => 1080
} }
] ]
} }
@ -119,7 +119,7 @@ test "it works for peertube videos with only their mpegURL map" do
"mediaType" => "video/mp4", "mediaType" => "video/mp4",
"type" => "Link", "type" => "Link",
"width" => nil, "width" => nil,
"height" => nil "height" => 1080
} }
] ]
} }