mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-25 04:53:06 +00:00
Fix VideoHandlingTest
This commit is contained in:
parent
3f03d71ea6
commit
335684182a
|
@ -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",
|
||||
"mediaType" => "video/mp4",
|
||||
"type" => "Link",
|
||||
"width" => nil,
|
||||
"width" => 480,
|
||||
"height" => nil
|
||||
}
|
||||
]
|
||||
|
@ -87,7 +87,7 @@ test "it remaps video URLs as attachments if necessary" do
|
|||
"mediaType" => "video/mp4",
|
||||
"type" => "Link",
|
||||
"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",
|
||||
"type" => "Link",
|
||||
"width" => nil,
|
||||
"height" => nil
|
||||
"height" => 1080
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue