Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pbulawa committed Sep 26, 2023
1 parent b2fd48b commit 156217e
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions test/integration/testConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ describe("Connection test - validate default parameters", function () {
});
});
assert.deepEqual(output, [
'"waerhouse" is an unknown connection parameter\n',
'Did you mean "warehouse"\n',
'"waerhouse" is an unknown connection parameter. Did you mean "warehouse"?\n',
]);
});

Expand All @@ -162,7 +161,7 @@ describe("Connection test - validate default parameters", function () {
validateDefaultParameters: true,
});
});
assert.deepEqual(output, ['"db" is an unknown connection parameter\n']);
assert.deepEqual(output, ['"db" is an unknown connection parameter. Did you mean "host"?\n']);
});

it('Invalid "database" parameter', function () {
Expand All @@ -176,8 +175,7 @@ describe("Connection test - validate default parameters", function () {
});
});
assert.deepEqual(output, [
'"datbse" is an unknown connection parameter\n',
'Did you mean "database"\n',
'"datbse" is an unknown connection parameter. Did you mean "database"?\n',
]);
});

Expand Down Expand Up @@ -205,8 +203,7 @@ describe("Connection test - validate default parameters", function () {
});
});
assert.deepEqual(output, [
'"shcema" is an unknown connection parameter\n',
'Did you mean "schema"\n',
'"shcema" is an unknown connection parameter. Did you mean "schema"?\n',
]);
});
});
Expand Down

0 comments on commit 156217e

Please sign in to comment.