projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'captcha' into 'develop'
[akkoma]
/
test
/
activity_test.exs
diff --git
a/test/activity_test.exs
b/test/activity_test.exs
index a4c13c5e4c470b562aeecd34da834f82a4072e41..36c718869cc5acde56ac301ec69066faba1e2bff 100644
(file)
--- a/
test/activity_test.exs
+++ b/
test/activity_test.exs
@@
-1,3
+1,7
@@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.ActivityTest do
use Pleroma.DataCase
alias Pleroma.Activity
defmodule Pleroma.ActivityTest do
use Pleroma.DataCase
alias Pleroma.Activity
@@
-20,8
+24,7
@@
defmodule Pleroma.ActivityTest do
test "returns the activity that created an object" do
activity = insert(:note_activity)
test "returns the activity that created an object" do
activity = insert(:note_activity)
- found_activity =
- Activity.get_create_activity_by_object_ap_id(activity.data["object"]["id"])
+ found_activity = Activity.get_create_activity_by_object_ap_id(activity.data["object"]["id"])
assert activity == found_activity
end
assert activity == found_activity
end