projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[#3213] `mix pleroma.database rollback` tweaks.
[akkoma]
/
test
/
pleroma
/
web
/
activity_pub
/
object_validators
/
chat_validation_test.exs
diff --git
a/test/pleroma/web/activity_pub/object_validators/chat_validation_test.exs
b/test/pleroma/web/activity_pub/object_validators/chat_validation_test.exs
index 782f6c652aa8d3e06bc57c0e6074fdcae7b81063..320854187d753d57034d3e229d31f412f8be70b0 100644
(file)
--- a/
test/pleroma/web/activity_pub/object_validators/chat_validation_test.exs
+++ b/
test/pleroma/web/activity_pub/object_validators/chat_validation_test.exs
@@
-149,7
+149,7
@@
defmodule Pleroma.Web.ActivityPub.ObjectValidators.ChatValidationTest do
test "does not validate if the message is longer than the remote_limit", %{
valid_chat_message: valid_chat_message
} do
test "does not validate if the message is longer than the remote_limit", %{
valid_chat_message: valid_chat_message
} do
-
Pleroma.Config.put
([:instance, :remote_limit], 2)
+
clear_config
([:instance, :remote_limit], 2)
refute match?({:ok, _object, _meta}, ObjectValidator.validate(valid_chat_message, []))
end
refute match?({:ok, _object, _meta}, ObjectValidator.validate(valid_chat_message, []))
end