mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:21:18 +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
@ -679,7 +679,7 @@ RSpec.describe TopicsController do
|
||||
expect(response.status).to eq(400)
|
||||
end
|
||||
|
||||
it 'raises an error with a status not in the whitelist' do
|
||||
it 'raises an error with a status not in the allowlist' do
|
||||
put "/t/#{topic.id}/status.json", params: {
|
||||
status: 'title', enabled: 'true'
|
||||
}
|
||||
|
Reference in New Issue
Block a user