extracted server id validation
This commit is contained in:
parent
807c44f057
commit
aae61f9451
15 changed files with 83 additions and 388 deletions
|
@ -45,6 +45,7 @@ const awsStub = {
|
|||
|
||||
const storage = proxyquire('../../server/storage', {
|
||||
redis: redisStub,
|
||||
'redis-mock': redisStub,
|
||||
fs: fsStub,
|
||||
'./log': function() {
|
||||
return logStub;
|
||||
|
@ -100,7 +101,7 @@ describe('Testing Get using aws', function() {
|
|||
|
||||
describe('Testing Set using aws', function() {
|
||||
beforeEach(function() {
|
||||
expire.reset();
|
||||
expire.resetHistory();
|
||||
});
|
||||
|
||||
after(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue