Merge pull request #1360 from strongloop/datatype-test/use-predefined-date

datatype.test: use predefined date
This commit is contained in:
Kevin Delisle 2017-04-28 16:42:10 -04:00 committed by GitHub
commit 97f243f347
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ describe('datatypes', function() {
});
it('should keep types when get read data from db', function(done) {
var d = new Date, id;
var d = new Date('2015-01-01T12:00:00'), id;
Model.create({
str: 'hello', date: d, num: '3', bool: 1, list: ['test'], arr: [1, 'str'],