Commit 3cb4d40e authored by feld's avatar feld
Browse files

This scenario no longer exists. Users are auto-confirmed if confirmation not...

This scenario no longer exists. Users are auto-confirmed if confirmation not required at time of registration.
parent 704eef3c
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment