Skip to content

Commit

Permalink
Fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
aheuermann committed Dec 27, 2019
1 parent bb8e806 commit 6363778
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/pg/test/unit/connection-parameters/creation-tests.js
Expand Up @@ -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 () {
Expand All @@ -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
Expand Down

0 comments on commit 6363778

Please sign in to comment.