forked from AkkomaGang/akkoma
Fix tests for other attachment types
This commit is contained in:
parent
2156de2fee
commit
966663c3f8
2 changed files with 3 additions and 0 deletions
|
@ -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" =>
|
||||||
|
|
|
@ -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" =>
|
||||||
|
|
Loading…
Reference in a new issue