aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-08-05 17:26:53 +0200
committerlain <lain@soykaf.club>2020-08-05 17:26:53 +0200
commit9c96fc052a89789b398794761741783eaa86d6a1 (patch)
tree016991af9a815d61d009ce41aea45049e583e5ee /test
parent2173945f9012ec0db82a73fc7ed9423899dfd28f (diff)
downloadpleroma-9c96fc052a89789b398794761741783eaa86d6a1.tar.gz
CommonValidations: Extract modification right checker
Diffstat (limited to 'test')
-rw-r--r--test/web/activity_pub/object_validators/delete_validation_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/activity_pub/object_validators/delete_validation_test.exs b/test/web/activity_pub/object_validators/delete_validation_test.exs
index 42cd18298..02683b899 100644
--- a/test/web/activity_pub/object_validators/delete_validation_test.exs
+++ b/test/web/activity_pub/object_validators/delete_validation_test.exs
@@ -87,7 +87,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.DeleteValidationTest do
{:error, cng} = ObjectValidator.validate(invalid_other_actor, [])
- assert {:actor, {"is not allowed to delete object", []}} in cng.errors
+ assert {:actor, {"is not allowed to modify object", []}} in cng.errors
end
test "it's valid if the actor of the object is a local superuser",