mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 00:00:46 +08:00
FIX: use allowlist and blocklist terminology (#10209)
This is a PR of the renaming whitelist to allowlist and blacklist to the blocklist.
This commit is contained in:

committed by
GitHub

parent
5077cf52fd
commit
e0d9232259
@ -2982,9 +2982,9 @@ describe UsersController do
|
||||
expect(response.status).to eq(422)
|
||||
end
|
||||
|
||||
it "raises an error when the email is blacklisted" do
|
||||
it "raises an error when the email is blocklisted" do
|
||||
post_user
|
||||
SiteSetting.email_domains_blacklist = 'example.com'
|
||||
SiteSetting.blocked_email_domains = 'example.com'
|
||||
put "/u/update-activation-email.json", params: { email: 'test@example.com' }
|
||||
expect(response.status).to eq(422)
|
||||
end
|
||||
|
Reference in New Issue
Block a user