projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ObjectValidator.CommonFixes: Introduce fix_objects_defaults and fix_activity_defaults
[akkoma]
/
test
/
pleroma
/
ecto_type
/
activity_pub
/
object_validators
/
recipients_test.exs
diff --git
a/test/pleroma/ecto_type/activity_pub/object_validators/recipients_test.exs
b/test/pleroma/ecto_type/activity_pub/object_validators/recipients_test.exs
index d3a2fd13f9f81843522ff52d17377325033bd133..ce8bef39f8c38c785125d51f6b3609cb1722f604 100644
(file)
--- a/
test/pleroma/ecto_type/activity_pub/object_validators/recipients_test.exs
+++ b/
test/pleroma/ecto_type/activity_pub/object_validators/recipients_test.exs
@@
-9,7
+9,7
@@
defmodule Pleroma.EctoType.ActivityPub.ObjectValidators.RecipientsTest do
test "it asserts that all elements of the list are object ids" do
list = ["https://lain.com/users/lain", "invalid"]
- assert
:error
== Recipients.cast(list)
+ assert
{:error, "invalid"}
== Recipients.cast(list)
end
test "it works with a list" do