Fix tests

mailboxDomain can be null (even though install/clone currently always
allocate one)
This commit is contained in:
Girish Ramakrishnan
2019-11-19 17:36:05 -08:00
parent 9acf49a99e
commit f919570cea
4 changed files with 5 additions and 5 deletions

View File

@@ -215,10 +215,10 @@ describe('apptask', function () {
});
});
it('barfs on bad manifest', function (done) {
it('fails on bad manifest', function (done) {
var badApp = _.extend({ }, APP);
badApp.manifest = _.extend({ }, APP.manifest);
delete badApp.manifest.id;
delete badApp.manifest.httpPort;
apptask._verifyManifest(badApp.manifest, function (error) {
expect(error).to.be.ok();