Merge pull request #1220 from strongloop/add-kvao-test-missing-return
Add missing return in KVAO keys test suite
This commit is contained in:
commit
22f2abf225
|
@ -45,7 +45,7 @@ module.exports = function(dataSourceFactory, connectorCapabilities) {
|
||||||
|
|
||||||
it('returns keys of the given model only', function() {
|
it('returns keys of the given model only', function() {
|
||||||
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, ['otherKey1', 'otherKey2']))
|
.then(() => helpers.givenKeys(AnotherModel, ['otherKey1', 'otherKey2']))
|
||||||
|
|
Loading…
Reference in New Issue