Skip to content

Commit ed9a33d

Browse files
committed
Fix test for older version of postgres
1 parent 2300445 commit ed9a33d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/client/json-type-parsing-tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pool.connect(assert.success(function (client, done) {
77
if (!jsonSupported) {
88
console.log('skip json test on older versions of postgres');
99
done();
10-
return helper.pg.end();
10+
return pool.end();
1111
}
1212
client.query('CREATE TEMP TABLE stuff(id SERIAL PRIMARY KEY, data JSON)');
1313
var value = { name: 'Brian', age: 250, alive: true, now: new Date() };

0 commit comments

Comments
 (0)