diff --git a/test/datatype.test.js b/test/datatype.test.js index 5cdb68cb..efbd88eb 100644 --- a/test/datatype.test.js +++ b/test/datatype.test.js @@ -172,10 +172,10 @@ describe('datatypes', function() { it('handles null data', (done) => { db = getSchema(); - Model = db.define('MyModel', { + Model = db.define('HandleNullModel', { data: {type: 'string'}, }); - db.automigrate(['Model'], function() { + db.automigrate(['HandleNullModel'], function() { let a = new Model(null); done(); });