fix invalid connection string test

The : and @ were the wrong way round
This commit is contained in:
Pete Bacon Darwin 2023-05-04 11:13:40 +01:00
parent 18b8ceae17
commit 26f7504531

View File

@ -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')
})