projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update mogrify package
[akkoma]
/
test
/
web
/
activity_pub
/
mrf
/
vocabulary_policy_test.exs
diff --git
a/test/web/activity_pub/mrf/vocabulary_policy_test.exs
b/test/web/activity_pub/mrf/vocabulary_policy_test.exs
index 69f22bb77cabcfe8ca36d8c5c877917900eb8134..2bceb67ee85f6768430c4a53389748b2899a4a32 100644
(file)
--- a/
test/web/activity_pub/mrf/vocabulary_policy_test.exs
+++ b/
test/web/activity_pub/mrf/vocabulary_policy_test.exs
@@
-46,7
+46,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.VocabularyPolicyTest do
}
}
}
}
- {:reject,
nil
} = VocabularyPolicy.filter(message)
+ {:reject,
_
} = VocabularyPolicy.filter(message)
end
test "it does not accept disallowed parent types" do
end
test "it does not accept disallowed parent types" do
@@
-60,7
+60,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.VocabularyPolicyTest do
}
}
}
}
- {:reject,
nil
} = VocabularyPolicy.filter(message)
+ {:reject,
_
} = VocabularyPolicy.filter(message)
end
end
end
end
@@
-75,7
+75,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.VocabularyPolicyTest do
"object" => "whatever"
}
"object" => "whatever"
}
- {:reject,
nil
} = VocabularyPolicy.filter(message)
+ {:reject,
_
} = VocabularyPolicy.filter(message)
end
test "it rejects based on child object type" do
end
test "it rejects based on child object type" do
@@
-89,7
+89,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.VocabularyPolicyTest do
}
}
}
}
- {:reject,
nil
} = VocabularyPolicy.filter(message)
+ {:reject,
_
} = VocabularyPolicy.filter(message)
end
test "it passes through objects that aren't disallowed" do
end
test "it passes through objects that aren't disallowed" do