From: Mark Felder Date: Wed, 20 Jan 2021 17:17:13 +0000 (-0600) Subject: This scenario no longer exists. Users are auto-confirmed if confirmation not required... X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=3cb4d40ebf9fbf58fac6f9657f799571dc7f318e;p=akkoma This scenario no longer exists. Users are auto-confirmed if confirmation not required at time of registration. --- diff --git a/test/pleroma/user_test.exs b/test/pleroma/user_test.exs index 617d9b755..a85e89a50 100644 --- a/test/pleroma/user_test.exs +++ b/test/pleroma/user_test.exs @@ -1830,13 +1830,6 @@ defmodule Pleroma.UserTest do 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)