Add missing "done" arg in test/kvao/ttl.suite

Backport #1086
This commit is contained in:
Miroslav Bajtoš 2016-09-08 10:22:27 +02:00
parent d385dfa9d6
commit f663917fe9
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ module.exports = function(dataSourceFactory, connectorCapabilities) {
});
it('gets TTL when key with unexpired TTL exists - Callback API',
function() {
function(done) {
CacheItem.set('a-key', 'a-value', { ttl: 1000 }, function(err) {
if (err) return done(err);
CacheItem.ttl('a-key', function(err, ttl) {