Explictly set forceId:false in test model

This commit is contained in:
Miroslav Bajtoš 2016-09-05 16:01:31 +02:00
parent 4ce71a3489
commit a9dc15c180
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ describe('mysql', function() {
history: Object,
stars: Number,
userId: ObjectID,
}, {
forceId: false
});
PostWithStringId = db.define('PostWithStringId', {