Merge branch 'develop' into 'remove-twitter-api'
[akkoma] / test / web / admin_api / views / report_view_test.exs
index 8cfa1dcfa03476f3f33b75688bfe4690a766d926..f00b0afb2a71786e6fee2521daf0c0f5cbd4943a 100644 (file)
@@ -45,7 +45,7 @@ defmodule Pleroma.Web.AdminAPI.ReportViewTest do
   test "includes reported statuses" do
     user = insert(:user)
     other_user = insert(:user)
-    {:ok, activity} = CommonAPI.post(other_user, %{"status" => "toot"})
+    {:ok, activity} = CommonAPI.post(other_user, %{status: "toot"})
 
     {:ok, report_activity} =
       CommonAPI.report(user, %{account_id: other_user.id, status_ids: [activity.id]})