X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Factivity_test.exs;h=2a92327d136dec9768bcf13687acf0ec778baf35;hb=d111eae798eb80089acc15ad2b9c0297febfaee1;hp=7c3f66da9476eb58cc37c4b3555a39f449842bfe;hpb=12635bc15626dd7d2d4a02b9c8d763687a0d34ce;p=akkoma diff --git a/test/activity_test.exs b/test/activity_test.exs index 7c3f66da9..2a92327d1 100644 --- a/test/activity_test.exs +++ b/test/activity_test.exs @@ -128,8 +128,8 @@ defmodule Pleroma.ActivityTest do "to" => ["https://www.w3.org/ns/activitystreams#Public"] } - {:ok, local_activity} = Pleroma.Web.CommonAPI.post(user, %{"status" => "find me!"}) - {:ok, japanese_activity} = Pleroma.Web.CommonAPI.post(user, %{"status" => "更新情報"}) + {:ok, local_activity} = Pleroma.Web.CommonAPI.post(user, %{status: "find me!"}) + {:ok, japanese_activity} = Pleroma.Web.CommonAPI.post(user, %{status: "更新情報"}) {:ok, job} = Pleroma.Web.Federator.incoming_ap_doc(params) {:ok, remote_activity} = ObanHelpers.perform(job) @@ -228,8 +228,8 @@ defmodule Pleroma.ActivityTest do test "all_by_actor_and_id/2" do user = insert(:user) - {:ok, %{id: id1}} = Pleroma.Web.CommonAPI.post(user, %{"status" => "cofe"}) - {:ok, %{id: id2}} = Pleroma.Web.CommonAPI.post(user, %{"status" => "cofefe"}) + {:ok, %{id: id1}} = Pleroma.Web.CommonAPI.post(user, %{status: "cofe"}) + {:ok, %{id: id2}} = Pleroma.Web.CommonAPI.post(user, %{status: "cofefe"}) assert [] == Activity.all_by_actor_and_id(user, [])