summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2019-01-26 15:20:27 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2019-01-26 15:24:16 +0000
commit1f7843b9b8afcb559c8ba59388724dbf4ef3e3c9 (patch)
tree359cefdf58a23900353015b36b0bdb3c33c35a93 /test
parent86037e9c3980fbab94935844c09bdd2f002140aa (diff)
downloadpleroma-1f7843b9b8afcb559c8ba59388724dbf4ef3e3c9.tar.gz
pleroma-1f7843b9b8afcb559c8ba59388724dbf4ef3e3c9.zip
mastodon api: use OGP uri instead of page_url for deducing domain name, fix test
Diffstat (limited to 'test')
-rw-r--r--test/web/mastodon_api/mastodon_api_controller_test.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs
index bc87383f7..55e778e4f 100644
--- a/test/web/mastodon_api/mastodon_api_controller_test.exs
+++ b/test/web/mastodon_api/mastodon_api_controller_test.exs
@@ -1634,6 +1634,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
assert response == %{
"image" => "http://ia.media-imdb.com/images/rock.jpg",
+ "provider_name" => "www.imdb.com",
"title" => "The Rock",
"type" => "link",
"url" => "http://www.imdb.com/title/tt0117500/"