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:
Simon Ho 2017-01-13 00:44:56 -08:00 committed by GitHub
commit 5a7283386c
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ module.exports = function(dataSourceFactory, connectorCapabilities) {
it('does not remove data from other existing models', () => { it('does not remove data from other existing models', () => {
let AnotherModel; let AnotherModel;
helpers.givenModel(dataSourceFactory, 'AnotherModel') return helpers.givenModel(dataSourceFactory, 'AnotherModel')
.then(ModelCtor => AnotherModel = ModelCtor) .then(ModelCtor => AnotherModel = ModelCtor)
.then(() => helpers.givenKeys(CacheItem, ['key1', 'key2'])) .then(() => helpers.givenKeys(CacheItem, ['key1', 'key2']))
.then(() => helpers.givenKeys(AnotherModel, ['key3', 'key4'])) .then(() => helpers.givenKeys(AnotherModel, ['key3', 'key4']))