projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c832d96
)
ObjectValidator: Refactor.
author
lain
<lain@soykaf.club>
Thu, 30 Apr 2020 15:58:31 +0000
(17:58 +0200)
committer
lain
<lain@soykaf.club>
Thu, 30 Apr 2020 15:58:31 +0000
(17:58 +0200)
test/web/activity_pub/object_validator_test.exs
patch
|
blob
|
history
diff --git
a/test/web/activity_pub/object_validator_test.exs
b/test/web/activity_pub/object_validator_test.exs
index 9e05897227bbc1099b8bfa32905a9c4a3ab7b810..1d364648767a567feae6a580b6b50976524f4a11 100644
(file)
--- a/
test/web/activity_pub/object_validator_test.exs
+++ b/
test/web/activity_pub/object_validator_test.exs
@@
-21,9
+21,9
@@
defmodule Pleroma.Web.ActivityPub.ObjectValidatorTest do
end
test "it is valid for a post deletion", %{valid_post_delete: valid_post_delete} do
- {:ok, valid_post_delete
_u
, _} = ObjectValidator.validate(valid_post_delete, [])
+ {:ok, valid_post_delete, _} = ObjectValidator.validate(valid_post_delete, [])
- assert valid_post_delete
_u
["deleted_activity_id"]
+ assert valid_post_delete["deleted_activity_id"]
end
test "it is valid for a user deletion", %{valid_user_delete: valid_user_delete} do