Oops
authorGian Sass <gian.sass@outlook.de>
Wed, 11 Apr 2018 19:51:02 +0000 (15:51 -0400)
committerGian Sass <gian.sass@outlook.de>
Wed, 11 Apr 2018 19:51:02 +0000 (15:51 -0400)
test/web/mastodon_api/mastodon_api_controller_test.exs

index 258d841225cb5775f28e2e6d9cd8149726e6b3eb..5293b9364ee375441a130f0f121e22c5c1718a87 100644 (file)
@@ -318,7 +318,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
 
     test "unimplemented pinned statuses feature", %{conn: conn} do
       note = insert(:note_activity)
-      user = User.get_by_ap_id(note_two.data["actor"])
+      user = User.get_by_ap_id(note.data["actor"])
 
       conn =
         conn