Fix CommonAPI.favorite/2 arg order
This commit is contained in:
parent
7cc9ba6f06
commit
711b33d81c
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ defmodule Pleroma.SearchTest do
|
||||||
|
|
||||||
assert_enqueued(worker: SearchIndexingWorker, args: args)
|
assert_enqueued(worker: SearchIndexingWorker, args: args)
|
||||||
|
|
||||||
{:ok, fav_activity} = CommonAPI.favorite(user, activity.id)
|
{:ok, fav_activity} = CommonAPI.favorite(activity.id, user)
|
||||||
|
|
||||||
args = %{"op" => "add_to_index", "activity" => fav_activity.id}
|
args = %{"op" => "add_to_index", "activity" => fav_activity.id}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue