Fix object id in OpenGraph test

This commit is contained in:
rinpatch 2019-01-17 22:57:24 +03:00
parent a95d5da607
commit 64143d8040

View file

@ -14,6 +14,7 @@ defmodule Pleroma.Web.Metadata.Providers.OpenGraphTest do
data: %{ data: %{
"actor" => user.ap_id, "actor" => user.ap_id,
"tag" => [], "tag" => [],
"id" => "https://pleroma.gov/objects/whatever",
"content" => "pleroma in a nutshell", "content" => "pleroma in a nutshell",
"attachment" => [ "attachment" => [
%{ %{
@ -81,6 +82,7 @@ defmodule Pleroma.Web.Metadata.Providers.OpenGraphTest do
insert(:note, %{ insert(:note, %{
data: %{ data: %{
"actor" => user.ap_id, "actor" => user.ap_id,
"id" => "https://pleroma.gov/objects/whatever",
"content" => "#cuteposting #nsfw #hambaga", "content" => "#cuteposting #nsfw #hambaga",
"tag" => ["cuteposting", "nsfw", "hambaga"], "tag" => ["cuteposting", "nsfw", "hambaga"],
"attachment" => [ "attachment" => [