소스 검색

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

groups
Mark Felder 3 년 전
부모
커밋
3cb4d40ebf
1개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. +0
    -7
      test/pleroma/user_test.exs

+ 0
- 7
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)



불러오는 중...
취소
저장