diff --git a/test/persistence-hooks.suite.js b/test/persistence-hooks.suite.js index f772f35f..896599a7 100644 --- a/test/persistence-hooks.suite.js +++ b/test/persistence-hooks.suite.js @@ -44,7 +44,7 @@ module.exports = function(dataSource, should, connectorCapabilities) { }); GeoModel = dataSource.createModel('GeoModel', { - id: {type: String, id: true}, + id: {type: String, id: true, default: uid.next}, name: {type: String, required: false}, location: {type: GeoPoint, required: false}, });