commit: fcda1b5e2aeb166dfd84ff17d1840fcfbd6f1490
parent b25f67372b0f425ae428a1b6b18156553c995dc2
Author: Mark Felder <feld@feld.me>
Date: Wed, 7 Aug 2024 14:46:39 -0400
Improve variable name
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/pleroma/web/activity_pub/object_validators/follow_validation_test.exs b/test/pleroma/web/activity_pub/object_validators/follow_validation_test.exs
@@ -29,8 +29,8 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.FollowValidationTest do
end
test "supports an empty cc", %{valid_follow: valid_follow} do
- valid_follow_with_nil_cc = Map.put(valid_follow, "cc", [])
- assert {:ok, _follow, []} = ObjectValidator.validate(valid_follow_with_nil_cc, [])
+ valid_follow_with_empty_cc = Map.put(valid_follow, "cc", [])
+ assert {:ok, _follow, []} = ObjectValidator.validate(valid_follow_with_empty_cc, [])
end
end
end