Fix object id in OpenGraph test

This commit is contained in:
rinpatch 2019-01-17 22:57:24 +03:00
parent a95d5da607
commit 64143d8040
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ test "it renders all supported types of attachments and skips unknown types" do
data: %{
"actor" => user.ap_id,
"tag" => [],
"id" => "https://pleroma.gov/objects/whatever",
"content" => "pleroma in a nutshell",
"attachment" => [
%{
@ -81,6 +82,7 @@ test "it does not render attachments if post is nsfw" do
insert(:note, %{
data: %{
"actor" => user.ap_id,
"id" => "https://pleroma.gov/objects/whatever",
"content" => "#cuteposting #nsfw #hambaga",
"tag" => ["cuteposting", "nsfw", "hambaga"],
"attachment" => [