mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-14 04:52:17 +00:00
Improve variable name
This commit is contained in:
parent
b25f67372b
commit
fcda1b5e2a
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.FollowValidationTest do
|
||||||
end
|
end
|
||||||
|
|
||||||
test "supports an empty cc", %{valid_follow: valid_follow} do
|
test "supports an empty cc", %{valid_follow: valid_follow} do
|
||||||
valid_follow_with_nil_cc = Map.put(valid_follow, "cc", [])
|
valid_follow_with_empty_cc = Map.put(valid_follow, "cc", [])
|
||||||
assert {:ok, _follow, []} = ObjectValidator.validate(valid_follow_with_nil_cc, [])
|
assert {:ok, _follow, []} = ObjectValidator.validate(valid_follow_with_empty_cc, [])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue