certs: remove caas backend
This commit is contained in:
@@ -180,28 +180,6 @@ describe('Certificates', function () {
|
||||
});
|
||||
});
|
||||
|
||||
describe('getApi - caas', function () {
|
||||
before(function (done) {
|
||||
DOMAIN_0.tlsConfig = { provider: 'caas' };
|
||||
|
||||
async.series([
|
||||
setup,
|
||||
domains.update.bind(null, DOMAIN_0.domain, DOMAIN_0, AUDIT_SOURCE)
|
||||
], done);
|
||||
});
|
||||
|
||||
after(cleanup);
|
||||
|
||||
it('returns prod caas for prod cloudron', function (done) {
|
||||
reverseProxy._getCertApi(DOMAIN_0, function (error, api, options) {
|
||||
expect(error).to.be(null);
|
||||
expect(api._name).to.be('caas');
|
||||
expect(options).to.eql({ email: 'webmaster@cloudron.io', 'performHttpAuthorization': false, 'prod': false, 'wildcard': false });
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('getApi - letsencrypt-prod', function () {
|
||||
before(function (done) {
|
||||
DOMAIN_0.tlsConfig = { provider: 'letsencrypt-prod' };
|
||||
|
||||
Reference in New Issue
Block a user