Maintenance: Adjust integration test case to new Zendesk API User result.
This commit is contained in:
parent
a99f87abe6
commit
05e1ae82ff
2 changed files with 6 additions and 6 deletions
|
@ -93,7 +93,7 @@ class ZendeskImportBrowserTest < TestCase
|
|||
|
||||
watch_for(
|
||||
css: '.js-users .js-done',
|
||||
value: '142',
|
||||
value: '143',
|
||||
timeout: 120,
|
||||
)
|
||||
|
||||
|
|
|
@ -41,13 +41,13 @@ class ZendeskImportTest < ActiveSupport::TestCase
|
|||
},
|
||||
Users: {
|
||||
skipped: 0,
|
||||
created: 141,
|
||||
created: 142,
|
||||
updated: 1,
|
||||
unchanged: 0,
|
||||
failed: 0,
|
||||
deactivated: 0,
|
||||
sum: 142,
|
||||
total: 142
|
||||
sum: 143,
|
||||
total: 143
|
||||
},
|
||||
Organizations: {
|
||||
skipped: 0,
|
||||
|
@ -76,7 +76,7 @@ class ZendeskImportTest < ActiveSupport::TestCase
|
|||
|
||||
# check count of imported items
|
||||
test 'check counts' do
|
||||
assert_equal(144, User.count, 'users')
|
||||
assert_equal(145, User.count, 'users')
|
||||
assert_equal(3, Group.count, 'groups')
|
||||
assert_equal(3, Role.count, 'roles')
|
||||
assert_equal(2, Organization.count, 'organizations')
|
||||
|
@ -99,7 +99,7 @@ class ZendeskImportTest < ActiveSupport::TestCase
|
|||
|
||||
checks = [
|
||||
{
|
||||
id: 144,
|
||||
id: 145,
|
||||
data: {
|
||||
firstname: 'Bob Smith',
|
||||
lastname: 'Smith',
|
||||
|
|
Loading…
Reference in a new issue