diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-05-12 23:59:26 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-05-13 00:25:21 +0400 |
commit | 7803a85d2ced092fbd8e0f1bde0944bd27f8d649 (patch) | |
tree | 31ad9658fc80921b787ff1d990106731c0040278 /test/tasks/count_statuses_test.exs | |
parent | c74018e6a7a19a40a75c343ddadc199d9990597e (diff) | |
download | pleroma-7803a85d2ced092fbd8e0f1bde0944bd27f8d649.tar.gz |
Add OpenAPI spec for StatusController
Diffstat (limited to 'test/tasks/count_statuses_test.exs')
-rw-r--r-- | test/tasks/count_statuses_test.exs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tasks/count_statuses_test.exs b/test/tasks/count_statuses_test.exs index 73c2ea690..c5cd16960 100644 --- a/test/tasks/count_statuses_test.exs +++ b/test/tasks/count_statuses_test.exs @@ -13,11 +13,11 @@ defmodule Mix.Tasks.Pleroma.CountStatusesTest do test "counts statuses" do user = insert(:user) - {:ok, _} = CommonAPI.post(user, %{"status" => "test"}) - {:ok, _} = CommonAPI.post(user, %{"status" => "test2"}) + {:ok, _} = CommonAPI.post(user, %{status: "test"}) + {:ok, _} = CommonAPI.post(user, %{status: "test2"}) user2 = insert(:user) - {:ok, _} = CommonAPI.post(user2, %{"status" => "test3"}) + {:ok, _} = CommonAPI.post(user2, %{status: "test3"}) user = refresh_record(user) user2 = refresh_record(user2) |