This scenario no longer exists. Users are auto-confirmed if confirmation not required at time of registration.

This commit is contained in:
Mark Felder 2021-01-20 11:17:13 -06:00
parent 704eef3c2d
commit 3cb4d40ebf
1 changed files with 0 additions and 7 deletions

View File

@ -1830,13 +1830,6 @@ test "returns true when the account is unconfirmed and confirmation is required
assert User.visible_for(user, other_user) == :visible
end
test "returns true when the account is unconfirmed and confirmation is not required" do
user = insert(:user, local: true, is_confirmed: false)
other_user = insert(:user, local: true)
assert User.visible_for(user, other_user) == :visible
end
test "returns true when the account is unconfirmed and being viewed by a privileged account (confirmation required)" do
Pleroma.Config.put([:instance, :account_activation_required], true)