diff options
| author | lain <lain@soykaf.club> | 2020-08-05 17:26:53 +0200 | 
|---|---|---|
| committer | lain <lain@soykaf.club> | 2020-08-05 17:26:53 +0200 | 
| commit | 9c96fc052a89789b398794761741783eaa86d6a1 (patch) | |
| tree | 016991af9a815d61d009ce41aea45049e583e5ee /test/web/activity_pub | |
| parent | 2173945f9012ec0db82a73fc7ed9423899dfd28f (diff) | |
| download | pleroma-9c96fc052a89789b398794761741783eaa86d6a1.tar.gz pleroma-9c96fc052a89789b398794761741783eaa86d6a1.zip  | |
CommonValidations: Extract modification right checker
Diffstat (limited to 'test/web/activity_pub')
| -rw-r--r-- | test/web/activity_pub/object_validators/delete_validation_test.exs | 2 | 
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",  | 
