Skip to content

Commit 97f243f

Browse files
author
Kevin Delisle
authored
Merge pull request #1360 from strongloop/datatype-test/use-predefined-date
datatype.test: use predefined date
2 parents f804663 + 8e97385 commit 97f243f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/datatype.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe('datatypes', function() {
5555
});
5656

5757
it('should keep types when get read data from db', function(done) {
58-
var d = new Date, id;
58+
var d = new Date('2015-01-01T12:00:00'), id;
5959

6060
Model.create({
6161
str: 'hello', date: d, num: '3', bool: 1, list: ['test'], arr: [1, 'str'],

0 commit comments

Comments
 (0)