From 26f7504531d5101ff636ce44c5b2ca690ca8fd70 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Thu, 4 May 2023 11:13:40 +0100 Subject: [PATCH] fix invalid connection string test The : and @ were the wrong way round --- packages/pg/test/unit/connection-parameters/creation-tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pg/test/unit/connection-parameters/creation-tests.js b/packages/pg/test/unit/connection-parameters/creation-tests.js index cd27d501..1e6d3dcb 100644 --- a/packages/pg/test/unit/connection-parameters/creation-tests.js +++ b/packages/pg/test/unit/connection-parameters/creation-tests.js @@ -320,7 +320,7 @@ suite.test('ssl is set on client', function () { var Client = require('../../../lib/client') var defaults = require('../../../lib/defaults') defaults.ssl = true - var c = new Client('postgres://user@password:host/database') + var c = new Client('postgres://user:password@host/database') assert(c.ssl, 'Client should have ssl enabled via defaults') })