Skip to content

Commit

Permalink
Maintenance: Adjust integration test case to new Zendesk API User res…
Browse files Browse the repository at this point in the history
…ult.
  • Loading branch information
thorsteneckel committed Jul 7, 2021
1 parent a99f87a commit 05e1ae8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/integration/zendesk_import_browser_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def test_import

watch_for(
css: '.js-users .js-done',
value: '142',
value: '143',
timeout: 120,
)

Expand Down
10 changes: 5 additions & 5 deletions test/integration/zendesk_import_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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')
Expand All @@ -99,7 +99,7 @@ class ZendeskImportTest < ActiveSupport::TestCase

checks = [
{
id: 144,
id: 145,
data: {
firstname: 'Bob Smith',
lastname: 'Smith',
Expand Down

0 comments on commit 05e1ae8

Please sign in to comment.