mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-25 16:03:13 +00:00
Fixing test
This commit is contained in:
parent
bb8e806bc5
commit
6363778675
@ -22,8 +22,8 @@ var compare = function (actual, expected, type) {
|
||||
assert.equal(actual.host, expected.host, type + ' host')
|
||||
assert.equal(actual.password, expected.password, type + ' password')
|
||||
assert.equal(actual.binary, expected.binary, type + ' binary')
|
||||
assert.equal(actual.statement_timout, expected.statement_timout, type + ' statement_timeout')
|
||||
assert.equal(actual.idle_in_transaction_session_timeout, expected.idle_in_transaction_session_timeout, type + 'idle_in_transaction_session_timeout')
|
||||
assert.equal(actual.statement_timeout, expected.statement_timeout, type + ' statement_timeout')
|
||||
assert.equal(actual.idle_in_transaction_session_timeout, expected.idle_in_transaction_session_timeout, type + ' idle_in_transaction_session_timeout')
|
||||
}
|
||||
|
||||
test('ConnectionParameters initializing from defaults', function () {
|
||||
@ -39,7 +39,9 @@ test('ConnectionParameters initializing from defaults with connectionString set'
|
||||
port: 7777,
|
||||
password: 'mypassword',
|
||||
host: 'foo.bar.net',
|
||||
binary: defaults.binary
|
||||
binary: defaults.binary,
|
||||
statement_timeout: false,
|
||||
idle_in_transaction_session_timeout: false,
|
||||
}
|
||||
|
||||
var original_value = defaults.connectionString
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user