ObjectValidator: Refactor.

This commit is contained in:
lain 2020-04-30 17:58:31 +02:00
parent c832d96fc9
commit 315b773dd9

View File

@ -21,9 +21,9 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidatorTest do
end
test "it is valid for a post deletion", %{valid_post_delete: valid_post_delete} do
{:ok, valid_post_delete_u, _} = ObjectValidator.validate(valid_post_delete, [])
{:ok, valid_post_delete, _} = ObjectValidator.validate(valid_post_delete, [])
assert valid_post_delete_u["deleted_activity_id"]
assert valid_post_delete["deleted_activity_id"]
end
test "it is valid for a user deletion", %{valid_user_delete: valid_user_delete} do