id is now independent on iv
This commit is contained in:
parent
a11b4b677c
commit
1ce24f7e08
4 changed files with 24 additions and 17 deletions
|
@ -113,8 +113,9 @@ describe('Testing Set using aws', function() {
|
|||
s3Stub.upload.callsArgWith(1, null, {});
|
||||
return storage
|
||||
.set('123', {}, 'Filename.moz', {})
|
||||
.then(deleteKey => {
|
||||
.then(([deleteKey, id]) => {
|
||||
assert.equal(deleteKey, buf.toString('hex'));
|
||||
assert.notEqual(id, null);
|
||||
assert.notEqual(deleteKey, null);
|
||||
assert(expire.calledOnce);
|
||||
assert(expire.calledWith('123', 86400000));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue