X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Ftasks%2Fdatabase_test.exs;h=7b05993d318ff19be76206ef89263b60e778cdf2;hb=736fead494f6140871919308e872bb6fe5b7a196;hp=0c7883f332966a54f51dff8256a81605a8ab0c46;hpb=e14cae25aa42fba21bd573ffd45ec1176da7da83;p=akkoma
diff --git a/test/tasks/database_test.exs b/test/tasks/database_test.exs
index 0c7883f33..7b05993d3 100644
--- a/test/tasks/database_test.exs
+++ b/test/tasks/database_test.exs
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2019 Pleroma Authors
+# Copyright © 2017-2020 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Mix.Tasks.Pleroma.DatabaseTest do
@@ -102,7 +102,7 @@ defmodule Mix.Tasks.Pleroma.DatabaseTest do
{:ok, %{id: id, object: object}} = CommonAPI.post(user, %{"status" => "test"})
{:ok, %{object: object2}} = CommonAPI.post(user, %{"status" => "test test"})
- CommonAPI.favorite(id, user2)
+ CommonAPI.favorite(user2, id)
likes = %{
"first" =>