From 9a0d34a7a343bd8f86c3d1d0b62e349fb3fc0429 Mon Sep 17 00:00:00 2001 From: Simon Ho Date: Fri, 13 Jan 2017 00:19:10 -0800 Subject: [PATCH] Add missing return for KVAO delete all --- test/kvao/delete-all.suite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/kvao/delete-all.suite.js b/test/kvao/delete-all.suite.js index 3ab6d48f..57b4a0ed 100644 --- a/test/kvao/delete-all.suite.js +++ b/test/kvao/delete-all.suite.js @@ -20,7 +20,7 @@ module.exports = function(dataSourceFactory, connectorCapabilities) { it('does not remove data from other existing models', () => { 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, ['key3', 'key4']))