From dea80ac58814f549ededb03fa58426c0c904ee5f Mon Sep 17 00:00:00 2001 From: booo Date: Tue, 24 Jul 2012 14:01:27 +0200 Subject: [PATCH] Add unit test for #156. TODO: add integration test --- test/unit/client/typed-query-results-tests.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/unit/client/typed-query-results-tests.js b/test/unit/client/typed-query-results-tests.js index baa86bd..af3e3f9 100644 --- a/test/unit/client/typed-query-results-tests.js +++ b/test/unit/client/typed-query-results-tests.js @@ -114,6 +114,14 @@ test('typed results', function() { expected: function(val) { assert.UTCDate(val, 2010, 9, 31, 0, 0, 0, 0); } + },{ + name: 'date', + format: 'text', + dataTypeID: 1082, + actual: '2010-10-31', + expected: function(val) { + assert.UTCDate(val, 2010, 9, 31, 0, 0, 0, 0); + } },{ name: 'interval time', format: 'text',