diff --git a/test/custom-domain-test.js b/test/custom-domain-test.js index a8cdb43..d4652e2 100644 --- a/test/custom-domain-test.js +++ b/test/custom-domain-test.js @@ -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); - }); - });