From 156217e41a9fc6eb770bb075d41848a37462c164 Mon Sep 17 00:00:00 2001 From: Piotr Bulawa Date: Tue, 26 Sep 2023 15:52:08 +0200 Subject: [PATCH] Fix tests --- test/integration/testConnection.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/test/integration/testConnection.js b/test/integration/testConnection.js index aa8c978f6..e75c0c5bb 100644 --- a/test/integration/testConnection.js +++ b/test/integration/testConnection.js @@ -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', ]); }); @@ -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 () { @@ -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', ]); }); @@ -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', ]); }); });