X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Factivity%2Fir%2Ftopics_test.exs;h=14a6e6b71e8d10f2a9c3048d45740eda0c434dfa;hb=b87b798ca1660224a3192c32b035c19b18e11587;hp=8729e5746cdc7990bab1bc9f4f71210eeee26858;hpb=4427161ca3798aeee0290f0ed7ac5536039509d8;p=akkoma diff --git a/test/activity/ir/topics_test.exs b/test/activity/ir/topics_test.exs index 8729e5746..14a6e6b71 100644 --- a/test/activity/ir/topics_test.exs +++ b/test/activity/ir/topics_test.exs @@ -59,8 +59,8 @@ defmodule Pleroma.Activity.Ir.TopicsTest do describe "public visibility create events" do setup do activity = %Activity{ - object: %Object{data: %{"type" => "Create", "attachment" => []}}, - data: %{"to" => [Pleroma.Constants.as_public()]} + object: %Object{data: %{"attachment" => []}}, + data: %{"type" => "Create", "to" => [Pleroma.Constants.as_public()]} } {:ok, activity: activity} @@ -98,8 +98,8 @@ defmodule Pleroma.Activity.Ir.TopicsTest do describe "public visibility create events with attachments" do setup do activity = %Activity{ - object: %Object{data: %{"type" => "Create", "attachment" => ["foo"]}}, - data: %{"to" => [Pleroma.Constants.as_public()]} + object: %Object{data: %{"attachment" => ["foo"]}}, + data: %{"type" => "Create", "to" => [Pleroma.Constants.as_public()]} } {:ok, activity: activity}