Skip to content

Commit

Permalink
Merge pull request #1360 from strongloop/datatype-test/use-predefined…
Browse files Browse the repository at this point in the history
…-date

datatype.test: use predefined date
  • Loading branch information
Kevin Delisle committed Apr 28, 2017
2 parents f804663 + 8e97385 commit 97f243f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/datatype.test.js
Expand Up @@ -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'],
Expand Down

0 comments on commit 97f243f

Please sign in to comment.