Hotlink logo instead of attachment
[akkoma] / test / web / activity_pub / views / object_view_test.exs
index 281f96e1e0f33630451904971b56dfb87cac593d..13447dc297172731211ebd936186732b3eb43188 100644 (file)
@@ -1,3 +1,7 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
 defmodule Pleroma.Web.ActivityPub.ObjectViewTest do
   use Pleroma.DataCase
   import Pleroma.Factory
@@ -20,7 +24,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectViewTest do
 
   test "renders a note activity" do
     note = insert(:note_activity)
-    object = Pleroma.Object.normalize(note)
+    object = Object.normalize(note)
 
     result = ObjectView.render("object.json", %{object: note})