Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
[akkoma] / test / workers / cron / purge_expired_activities_worker_test.exs
index beac55fb270c31487e35a728f31e6a2959638a43..6d2991a6071d3b19ea5aab0d787fa86a2f007a9f 100644 (file)
@@ -51,7 +51,7 @@ defmodule Pleroma.Workers.Cron.PurgeExpiredActivitiesWorkerTest do
 
     days = Pleroma.Config.get([:mrf_activity_expiration, :days], 365)
 
-    {:ok, %{id: id} = activity} = Pleroma.Web.CommonAPI.post(user, %{"status" => "cofe"})
+    {:ok, %{id: id} = activity} = Pleroma.Web.CommonAPI.post(user, %{status: "cofe"})
 
     past_date =
       NaiveDateTime.utc_now() |> Timex.shift(days: -days) |> NaiveDateTime.truncate(:second)