dmarc is not setup for custom domains

This commit is contained in:
Girish Ramakrishnan 2015-12-18 08:19:37 -08:00
parent 3a30f218a8
commit 986bd41aad
1 changed files with 1 additions and 23 deletions

View File

@ -167,33 +167,11 @@ describe('Custom domain test', function () {
// cloudron.checkA.bind(cloudron), // this is at user's discretion
cloudron.checkSPF.bind(cloudron),
cloudron.checkDKIM.bind(cloudron),
cloudron.checkDMARC.bind(cloudron)
// cloudron.checkDMARC.bind(cloudron)
], done);
});
it('can delete the cloudron', function () {
appStore.deleteCloudron(box);
});
xit('has setup DNS records cleaned up', function (done) {
dns.setServers([ '205.251.199.12' ]); // use different dns server so as to not get cached results
function expectError(tag, fn) {
return function (cb) {
fn(function (error, records) {
if (!error) console.error('Records of %s is %j', tag, records);
cb(error ? null : new Error('Expecting error for ' + tag));
});
};
}
async.series([
expectError('checkA', cloudron.checkA.bind(cloudron)),
expectError('checkSPF', cloudron.checkSPF.bind(cloudron)),
expectError('checkDKIM', cloudron.checkDKIM.bind(cloudron)),
expectError('checkDMARC', cloudron.checkDMARC.bind(cloudron))
], done);
});
});