mastodon api: use OGP uri instead of page_url for deducing domain name, fix test
This commit is contained in:
parent
86037e9c39
commit
1f7843b9b8
2 changed files with 4 additions and 1 deletions
|
|
@ -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/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue