forked from AkkomaGang/akkoma
Fix VideoHandlingTest
This commit is contained in:
parent
3f03d71ea6
commit
335684182a
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue