Add missing return for KVAO delete all
This commit is contained in:
parent
22f2abf225
commit
9a0d34a7a3
|
@ -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']))
|
||||||
|
|
Loading…
Reference in New Issue