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(
|
watch_for(
|
||||||
css: '.js-users .js-done',
|
css: '.js-users .js-done',
|
||||||
value: '142',
|
value: '143',
|
||||||
timeout: 120,
|
timeout: 120,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -41,13 +41,13 @@ class ZendeskImportTest < ActiveSupport::TestCase
|
||||||
},
|
},
|
||||||
Users: {
|
Users: {
|
||||||
skipped: 0,
|
skipped: 0,
|
||||||
created: 141,
|
created: 142,
|
||||||
updated: 1,
|
updated: 1,
|
||||||
unchanged: 0,
|
unchanged: 0,
|
||||||
failed: 0,
|
failed: 0,
|
||||||
deactivated: 0,
|
deactivated: 0,
|
||||||
sum: 142,
|
sum: 143,
|
||||||
total: 142
|
total: 143
|
||||||
},
|
},
|
||||||
Organizations: {
|
Organizations: {
|
||||||
skipped: 0,
|
skipped: 0,
|
||||||
|
@ -76,7 +76,7 @@ class ZendeskImportTest < ActiveSupport::TestCase
|
||||||
|
|
||||||
# check count of imported items
|
# check count of imported items
|
||||||
test 'check counts' do
|
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, Group.count, 'groups')
|
||||||
assert_equal(3, Role.count, 'roles')
|
assert_equal(3, Role.count, 'roles')
|
||||||
assert_equal(2, Organization.count, 'organizations')
|
assert_equal(2, Organization.count, 'organizations')
|
||||||
|
@ -99,7 +99,7 @@ class ZendeskImportTest < ActiveSupport::TestCase
|
||||||
|
|
||||||
checks = [
|
checks = [
|
||||||
{
|
{
|
||||||
id: 144,
|
id: 145,
|
||||||
data: {
|
data: {
|
||||||
firstname: 'Bob Smith',
|
firstname: 'Bob Smith',
|
||||||
lastname: 'Smith',
|
lastname: 'Smith',
|
||||||
|
|
Loading…
Reference in a new issue