diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-03-13 19:30:42 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-03-13 19:30:42 +0400 |
commit | fffc382f138442035337e55eb930324d13bbdca8 (patch) | |
tree | 1c22d71d06a8dded7e80fae68c0e7d7c60462505 /test | |
parent | 802b991814fb851c0442dbb7b7bfc065fc062178 (diff) | |
download | pleroma-fffc382f138442035337e55eb930324d13bbdca8.tar.gz |
Fix hashtags WebSocket streaming
Diffstat (limited to 'test')
-rw-r--r-- | test/activity/ir/topics_test.exs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/activity/ir/topics_test.exs b/test/activity/ir/topics_test.exs index e75f83586..44aec1e19 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} |