Skip to content

Commit 26f7504

Browse files
fix invalid connection string test
The : and @ were the wrong way round
1 parent 18b8cea commit 26f7504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pg/test/unit/connection-parameters/creation-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ suite.test('ssl is set on client', function () {
320320
var Client = require('../../../lib/client')
321321
var defaults = require('../../../lib/defaults')
322322
defaults.ssl = true
323-
var c = new Client('postgres://user@password:host/database')
323+
var c = new Client('postgres://user:password@host/database')
324324
assert(c.ssl, 'Client should have ssl enabled via defaults')
325325
})
326326

0 commit comments

Comments
 (0)