mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
Fix integration test for v1.0.4 of postgres-date sub-dependency (#1867)
This commit is contained in:
parent
6b8176e841
commit
4d84909cbd
@ -179,7 +179,7 @@ suite.test('date range extremes', function (done) {
|
||||
}))
|
||||
|
||||
client.query('SELECT $1::TIMESTAMPTZ as when', ['4713-12-31 12:31:59 BC GMT'], assert.success(function (res) {
|
||||
assert.equal(res.rows[0].when.getFullYear(), -4713)
|
||||
assert.equal(res.rows[0].when.getFullYear(), -4712)
|
||||
}))
|
||||
|
||||
client.query('SELECT $1::TIMESTAMPTZ as when', ['275760-09-13 00:00:00 -15:00'], assert.success(function (res) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user