summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/representers
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2018-12-06 20:15:16 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2018-12-06 20:15:16 +0700
commit4944498133d4a945650201226808b1f09d355014 (patch)
tree02e83bac731ca6b391b63d826d8230bdb0fdaed8 /test/web/twitter_api/representers
parentbac58b152495c3ebf72e3ad1c3102de075fcc366 (diff)
parentccf0b46dd6a0390a06847b4a1c3eedc8d8e6c916 (diff)
downloadpleroma-4944498133d4a945650201226808b1f09d355014.tar.gz
pleroma-4944498133d4a945650201226808b1f09d355014.zip
Merge branch 'develop' into feature/compat/push-subscriptions
# Conflicts: # lib/pleroma/application.ex # lib/pleroma/plugs/oauth_plug.ex
Diffstat (limited to 'test/web/twitter_api/representers')
-rw-r--r--test/web/twitter_api/representers/activity_representer_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/twitter_api/representers/activity_representer_test.exs b/test/web/twitter_api/representers/activity_representer_test.exs
index 291fd5237..7cae4e4a1 100644
--- a/test/web/twitter_api/representers/activity_representer_test.exs
+++ b/test/web/twitter_api/representers/activity_representer_test.exs
@@ -58,7 +58,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do
end
test "an activity" do
- {:ok, user} = UserBuilder.insert()
+ user = insert(:user)
# {:ok, mentioned_user } = UserBuilder.insert(%{nickname: "shp", ap_id: "shp"})
mentioned_user = insert(:user, %{nickname: "shp"})