Add missing return for KVAO delete all

This commit is contained in:
Simon Ho 2017-01-13 00:19:10 -08:00
parent 22f2abf225
commit 9a0d34a7a3
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']))