diff options
author | lambda <lain@soykaf.club> | 2019-04-26 11:59:47 +0000 |
---|---|---|
committer | lambda <lain@soykaf.club> | 2019-04-26 11:59:47 +0000 |
commit | 4de5fef1f87c525e36168a46184741d54c163a5e (patch) | |
tree | c7869a45912a8c6b22c3ae93bfe32bf6411e0095 /test/web/mastodon_api/mastodon_api_controller_test.exs | |
parent | 48f68fd133468d193223122d3b528dd2e6836cff (diff) | |
parent | a825056d4d9ef823fe45d49df01062d199518829 (diff) | |
download | pleroma-4de5fef1f87c525e36168a46184741d54c163a5e.tar.gz pleroma-4de5fef1f87c525e36168a46184741d54c163a5e.zip |
Merge branch 'feature/807-bookmark-endpoint-extension' into 'develop'
Feature/807 bookmark endpoint extension
Closes #807
See merge request pleroma/pleroma!1059
Diffstat (limited to 'test/web/mastodon_api/mastodon_api_controller_test.exs')
-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 efcadcbf5..aea0afa25 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) |