SideEffects: fix test
authorlain <lain@soykaf.club>
Wed, 2 Dec 2020 13:48:11 +0000 (14:48 +0100)
committerlain <lain@soykaf.club>
Wed, 2 Dec 2020 13:48:11 +0000 (14:48 +0100)
test/pleroma/web/activity_pub/side_effects_test.exs

index 9efbaad045cf329a2dba81e9fbd60d928c8b4782..297fc0b84d1b2a8bea04b36618bd280856fac93c 100644 (file)
@@ -108,7 +108,7 @@ defmodule Pleroma.Web.ActivityPub.SideEffectsTest do
 
   describe "update users" do
     setup do
-      user = insert(:user)
+      user = insert(:user, local: false)
       {:ok, update_data, []} = Builder.update(user, %{"id" => user.ap_id, "name" => "new name!"})
       {:ok, update, _meta} = ActivityPub.persist(update_data, local: true)