projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
704eef3
)
This scenario no longer exists. Users are auto-confirmed if confirmation not required...
author
Mark Felder
<feld@feld.me>
Wed, 20 Jan 2021 17:17:13 +0000
(11:17 -0600)
committer
Mark Felder
<feld@feld.me>
Wed, 20 Jan 2021 17:17:13 +0000
(11:17 -0600)
test/pleroma/user_test.exs
patch
|
blob
|
history
diff --git
a/test/pleroma/user_test.exs
b/test/pleroma/user_test.exs
index 617d9b755fff0b8b6eb734382d31a3dc37c68101..a85e89a50a2f573ea4dc7a5690287a9ae294e53d 100644
(file)
--- 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
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)
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)