Use integers and not numbers in notification policy API counters (#29810)
This commit is contained in:
parent
d05f62391d
commit
b4d991adaa
4 changed files with 11 additions and 11 deletions
|
@ -32,8 +32,8 @@ RSpec.describe 'Policies' do
|
|||
filter_new_accounts: false,
|
||||
filter_private_mentions: true,
|
||||
summary: a_hash_including(
|
||||
pending_requests_count: '1',
|
||||
pending_notifications_count: '0'
|
||||
pending_requests_count: 1,
|
||||
pending_notifications_count: 0
|
||||
)
|
||||
)
|
||||
end
|
||||
|
@ -60,8 +60,8 @@ RSpec.describe 'Policies' do
|
|||
filter_new_accounts: false,
|
||||
filter_private_mentions: true,
|
||||
summary: a_hash_including(
|
||||
pending_requests_count: '0',
|
||||
pending_notifications_count: '0'
|
||||
pending_requests_count: 0,
|
||||
pending_notifications_count: 0
|
||||
)
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue