mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
failing test for password property in config
This commit is contained in:
parent
a4fa1f4614
commit
f72f996705
@ -12,16 +12,18 @@ test('client settings', function() {
|
||||
test('custom', function() {
|
||||
var user = 'brian';
|
||||
var database = 'pgjstest';
|
||||
|
||||
var password = 'boom';
|
||||
var client = new Client({
|
||||
user: user,
|
||||
database: database,
|
||||
port: 321
|
||||
port: 321,
|
||||
password: password
|
||||
});
|
||||
|
||||
|
||||
assert.equal(client.user, user);
|
||||
assert.equal(client.database, database);
|
||||
assert.equal(client.port, 321);
|
||||
assert.equal(client.password, password);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user