summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-11-11 12:51:13 -0600
committerMark Felder <feld@FreeBSD.org>2020-11-11 12:51:13 -0600
commit2254e5e5958803beef94e2d01bdb04647a1f82c9 (patch)
tree8633c6a095d35c11a9ab2b1d4704abcb7d47fdea /test
parent6fd72e9e8526680836e1bf34c58e10b66dcfee8c (diff)
downloadpleroma-2254e5e5958803beef94e2d01bdb04647a1f82c9.tar.gz
pleroma-2254e5e5958803beef94e2d01bdb04647a1f82c9.zip
Render blurhashes in Mastodon API
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/mastodon_api/views/status_view_test.exs4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/pleroma/web/mastodon_api/views/status_view_test.exs b/test/pleroma/web/mastodon_api/views/status_view_test.exs
index 70d829979..665199f97 100644
--- a/test/pleroma/web/mastodon_api/views/status_view_test.exs
+++ b/test/pleroma/web/mastodon_api/views/status_view_test.exs
@@ -420,6 +420,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
"href" => "someurl"
}
],
+ "blurhash" => "UJJ8X[xYW,%Jtq%NNFbXB5j]IVM|9GV=WHRn",
"uuid" => 6
}
@@ -431,7 +432,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
preview_url: "someurl",
text_url: "someurl",
description: nil,
- pleroma: %{mime_type: "image/png"}
+ pleroma: %{mime_type: "image/png"},
+ blurhash: "UJJ8X[xYW,%Jtq%NNFbXB5j]IVM|9GV=WHRn"
}
api_spec = Pleroma.Web.ApiSpec.spec()