Add missing return in KVAO keys test suite

This commit is contained in:
Simon Ho 2017-01-11 19:35:37 -08:00
parent 736a4ad185
commit 188fb10c96
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ module.exports = function(dataSourceFactory, connectorCapabilities) {
it('returns keys of the given model only', function() {
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, ['otherKey1', 'otherKey2']))