ObjectValidator: Refactor.
authorlain <lain@soykaf.club>
Thu, 30 Apr 2020 15:58:31 +0000 (17:58 +0200)
committerlain <lain@soykaf.club>
Thu, 30 Apr 2020 15:58:31 +0000 (17:58 +0200)
test/web/activity_pub/object_validator_test.exs

index 9e05897227bbc1099b8bfa32905a9c4a3ab7b810..1d364648767a567feae6a580b6b50976524f4a11 100644 (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