Revert "Fix tests: we do not send mails anymore"
This reverts commit 7c72cd4399.
This commit is contained in:
@@ -129,7 +129,7 @@ describe('updatechecker - checkBoxUpdates', function () {
|
|||||||
expect(!error).to.be.ok();
|
expect(!error).to.be.ok();
|
||||||
expect(updatechecker.getUpdateInfo().box.version).to.be('2.0.0');
|
expect(updatechecker.getUpdateInfo().box.version).to.be('2.0.0');
|
||||||
|
|
||||||
checkMails(0, done);
|
checkMails(1, done);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -182,7 +182,7 @@ describe('updatechecker - checkBoxUpdates', function () {
|
|||||||
updatechecker.checkBoxUpdates(function (error) {
|
updatechecker.checkBoxUpdates(function (error) {
|
||||||
expect(!error).to.be.ok();
|
expect(!error).to.be.ok();
|
||||||
expect(updatechecker.getUpdateInfo().box.version).to.be('2.0.0-pre0');
|
expect(updatechecker.getUpdateInfo().box.version).to.be('2.0.0-pre0');
|
||||||
checkMails(0, done);
|
checkMails(1, done);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user