Fix object id in OpenGraph test
authorrinpatch <rinpatch@sdf.org>
Thu, 17 Jan 2019 19:57:24 +0000 (22:57 +0300)
committerrinpatch <rinpatch@sdf.org>
Thu, 17 Jan 2019 19:57:24 +0000 (22:57 +0300)
test/web/metadata/opengraph_test.exs

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