Fix tests for other attachment types

This commit is contained in:
Mark Felder 2020-11-11 16:17:35 -06:00
parent 2156de2fee
commit 966663c3f8
2 changed files with 3 additions and 0 deletions

View file

@ -69,6 +69,7 @@ test "Funkwhale Audio object" do
"mediaType" => "audio/ogg", "mediaType" => "audio/ogg",
"type" => "Link", "type" => "Link",
"name" => nil, "name" => nil,
"blurhash" => nil,
"url" => [ "url" => [
%{ %{
"href" => "href" =>

View file

@ -54,6 +54,7 @@ test "it remaps video URLs as attachments if necessary" do
"type" => "Link", "type" => "Link",
"mediaType" => "video/mp4", "mediaType" => "video/mp4",
"name" => nil, "name" => nil,
"blurhash" => nil,
"url" => [ "url" => [
%{ %{
"href" => "href" =>
@ -76,6 +77,7 @@ test "it remaps video URLs as attachments if necessary" do
"type" => "Link", "type" => "Link",
"mediaType" => "video/mp4", "mediaType" => "video/mp4",
"name" => nil, "name" => nil,
"blurhash" => nil,
"url" => [ "url" => [
%{ %{
"href" => "href" =>