projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'docs/clients-update' into 'develop'
[akkoma]
/
test
/
web
/
activity_pub
/
views
/
object_view_test.exs
diff --git
a/test/web/activity_pub/views/object_view_test.exs
b/test/web/activity_pub/views/object_view_test.exs
index 281f96e1e0f33630451904971b56dfb87cac593d..13447dc297172731211ebd936186732b3eb43188 100644
(file)
--- a/
test/web/activity_pub/views/object_view_test.exs
+++ b/
test/web/activity_pub/views/object_view_test.exs
@@
-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
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)
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})
result = ObjectView.render("object.json", %{object: note})