aboutsummaryrefslogtreecommitdiff
path: root/test/bbs/handler_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-13 12:44:16 +0200
committerlain <lain@soykaf.club>2020-05-13 12:44:16 +0200
commit3cff4e24cd8c56af47b1983ea97ec4643dbc183e (patch)
tree63e27727ca94f1b57832d6e872ad319c97719bbb /test/bbs/handler_test.exs
parentc0ea5c60e4e709d3d4415de42a65f878b55dc3bb (diff)
parent6706cdce65f8b2dda55380dbfdad5e41e600af2d (diff)
downloadpleroma-3cff4e24cd8c56af47b1983ea97ec4643dbc183e.tar.gz
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
Diffstat (limited to 'test/bbs/handler_test.exs')
-rw-r--r--test/bbs/handler_test.exs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/bbs/handler_test.exs b/test/bbs/handler_test.exs
index 74982547b..eb716486e 100644
--- a/test/bbs/handler_test.exs
+++ b/test/bbs/handler_test.exs
@@ -21,8 +21,8 @@ defmodule Pleroma.BBS.HandlerTest do
{:ok, user} = User.follow(user, followed)
- {:ok, _first} = CommonAPI.post(user, %{"status" => "hey"})
- {:ok, _second} = CommonAPI.post(followed, %{"status" => "hello"})
+ {:ok, _first} = CommonAPI.post(user, %{status: "hey"})
+ {:ok, _second} = CommonAPI.post(followed, %{status: "hello"})
output =
capture_io(fn ->
@@ -62,7 +62,7 @@ defmodule Pleroma.BBS.HandlerTest do
user = insert(:user)
another_user = insert(:user)
- {:ok, activity} = CommonAPI.post(another_user, %{"status" => "this is a test post"})
+ {:ok, activity} = CommonAPI.post(another_user, %{status: "this is a test post"})
activity_object = Object.normalize(activity)
output =