+# 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
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})