mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
fix invalid connection string test
The : and @ were the wrong way round
This commit is contained in:
parent
18b8ceae17
commit
26f7504531
@ -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')
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user