projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'pleroma-password' into 'develop'
[akkoma]
/
test
/
pleroma
/
web
/
activity_pub
/
transmogrifier
/
delete_handling_test.exs
diff --git
a/test/pleroma/web/activity_pub/transmogrifier/delete_handling_test.exs
b/test/pleroma/web/activity_pub/transmogrifier/delete_handling_test.exs
index 1f9e73ff89af821c89d83f269b00fdaef78c33d3..33132dff67d802d2dd1c886e99585e0b3746fcdf 100644
(file)
--- a/
test/pleroma/web/activity_pub/transmogrifier/delete_handling_test.exs
+++ b/
test/pleroma/web/activity_pub/transmogrifier/delete_handling_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.Transmogrifier.DeleteHandlingTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.Transmogrifier.DeleteHandlingTest do
@@
-40,7
+40,7
@@
defmodule Pleroma.Web.ActivityPub.Transmogrifier.DeleteHandlingTest do
assert actor == deleting_user.ap_id
# Objects are replaced by a tombstone object.
assert actor == deleting_user.ap_id
# Objects are replaced by a tombstone object.
- object = Object.normalize(activity.data["object"])
+ object = Object.normalize(activity.data["object"]
, fetch: false
)
assert object.data["type"] == "Tombstone"
end
assert object.data["type"] == "Tombstone"
end
@@
-48,7
+48,7
@@
defmodule Pleroma.Web.ActivityPub.Transmogrifier.DeleteHandlingTest do
activity = insert(:note_activity)
{:ok, object} =
activity = insert(:note_activity)
{:ok, object} =
- Object.normalize(activity.data["object"])
+ Object.normalize(activity.data["object"]
, fetch: false
)
|> Repo.delete()
# TODO: mock cachex
|> Repo.delete()
# TODO: mock cachex