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

This commit is contained in:
Miroslav Bajtoš 2016-09-08 10:22:27 +02:00
parent fc06d35994
commit a438c72cc5
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) {