Merge pull request #1222 from strongloop/fix-missing-return-for-kvao-delete-all
Add missing return for KVAO delete all
This commit is contained in:
commit
5a7283386c
|
@ -20,7 +20,7 @@ module.exports = function(dataSourceFactory, connectorCapabilities) {
|
|||
|
||||
it('does not remove data from other existing models', () => {
|
||||
let AnotherModel;
|
||||
helpers.givenModel(dataSourceFactory, 'AnotherModel')
|
||||
return helpers.givenModel(dataSourceFactory, 'AnotherModel')
|
||||
.then(ModelCtor => AnotherModel = ModelCtor)
|
||||
.then(() => helpers.givenKeys(CacheItem, ['key1', 'key2']))
|
||||
.then(() => helpers.givenKeys(AnotherModel, ['key3', 'key4']))
|
||||
|
|
Loading…
Reference in New Issue