fixing small issues
This commit is contained in:
parent
c4b7a2bd97
commit
6aa79472bf
6 changed files with 10 additions and 14 deletions
|
@ -112,7 +112,7 @@ describe('Testing Set using aws', function() {
|
|||
sinon.stub(crypto, 'randomBytes').returns(buf);
|
||||
s3Stub.upload.callsArgWith(1, null, {});
|
||||
return storage
|
||||
.set('123', '123', {}, 'Filename.moz', {})
|
||||
.set('123', {}, 'Filename.moz', {})
|
||||
.then(() => {
|
||||
assert(expire.calledOnce);
|
||||
assert(expire.calledWith('123', 86400000));
|
||||
|
|
|
@ -122,7 +122,7 @@ describe('Testing Set to local filesystem', function() {
|
|||
fsStub.createWriteStream.returns({ on: stub });
|
||||
|
||||
return storage
|
||||
.set('test', 'test', { pipe: sinon.stub() }, 'Filename.moz', {})
|
||||
.set('test', { pipe: sinon.stub() }, 'Filename.moz', {})
|
||||
.then(() => {
|
||||
assert(1);
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue