diff options
author | Alex S <alex.strizhakov@gmail.com> | 2019-04-22 16:16:19 +0700 |
---|---|---|
committer | Alex S <alex.strizhakov@gmail.com> | 2019-04-25 13:46:40 +0700 |
commit | 85953c0836c84550c8f61218d0a5b284c0716d34 (patch) | |
tree | b577ddc85a80de12e03cf78f5353f2d9ddaa927a /test | |
parent | 229ce6abbc1873c35a56450942c8aee0a027b6a8 (diff) | |
download | pleroma-85953c0836c84550c8f61218d0a5b284c0716d34.tar.gz |
fixes for tests
Diffstat (limited to 'test')
-rw-r--r-- | test/web/mastodon_api/mastodon_api_controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs index a22944088..15bb02297 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -1022,7 +1022,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do user2 = insert(:user) user3 = insert(:user) CommonAPI.favorite(activity.id, user2) - {:ok, user2} = User.bookmark(user2, activity.data["object"]["id"]) + {:ok, _bookmark} = Pleroma.Bookmark.create(user2.id, activity.id) {:ok, reblog_activity1, _object} = CommonAPI.repeat(activity.id, user1) {:ok, _, _object} = CommonAPI.repeat(activity.id, user2) |