Skip to content

Commit 5feacd6

Browse files
committed
Remove redundant test
This functionality is already tested in the node-pg-types repo.
1 parent 5d821c3 commit 5feacd6

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

test/integration/client/type-coercion-tests.js

-16
Original file line numberDiff line numberDiff line change
@@ -198,19 +198,3 @@ helper.pg.connect(helper.config, assert.calls(function(err, client, done) {
198198
done();
199199
})
200200
}))
201-
202-
if(!helper.config.binary) {
203-
test("postgres date type", function() {
204-
var client = helper.client();
205-
var testDate = new Date(2010, 9, 31);
206-
client.on('error', function(err) {
207-
console.log(err);
208-
client.end();
209-
});
210-
client.query("SELECT $1::date", [testDate], assert.calls(function(err, result){
211-
assert.isNull(err);
212-
assert.strictEqual(result.rows[0].date.toString(), new Date(Date.UTC(2010, 9, 31)).toString());
213-
}));
214-
client.on('drain', client.end.bind(client));
215-
});
216-
}

0 commit comments

Comments
 (0)