Skip to content

Commit 947b53a

Browse files
author
Christophe Macabiau
committed
use the correct pg bindings
1 parent c98ebb5 commit 947b53a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/integration/client/cancel-query-tests.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
var helper = require(__dirname+"/test-helper");
2-
var pg = require(__dirname + '/../../../lib');
32

43
//before running this test make sure you run the script create-test-tables
54
test("cancellation of a query", function() {
@@ -29,9 +28,9 @@ test("cancellation of a query", function() {
2928
rows4++;
3029
});
3130

32-
pg.cancel(helper.connectionString, client, query1);
33-
pg.cancel(helper.connectionString, client, query2);
34-
pg.cancel(helper.connectionString, client, query4);
31+
helper.pg.cancel(helper.connectionString, client, query1);
32+
helper.pg.cancel(helper.connectionString, client, query2);
33+
helper.pg.cancel(helper.connectionString, client, query4);
3534

3635
setTimeout(function() {
3736
assert.equal(rows1, 0);

0 commit comments

Comments
 (0)