Fixup reverseproxy tests
This commit is contained in:
@@ -147,8 +147,8 @@ describe('Reverse Proxy', function () {
|
||||
});
|
||||
|
||||
it('returns prod acme in prod cloudron', async function () {
|
||||
const { acmeApi, apiOptions } = await reverseProxy._getAcmeApi(domainCopy);
|
||||
expect(acmeApi._name).to.be('acme');
|
||||
const { acme2, apiOptions } = await reverseProxy._getAcmeApi(domainCopy);
|
||||
expect(acme2._name).to.be('acme');
|
||||
expect(apiOptions.prod).to.be(true);
|
||||
});
|
||||
});
|
||||
@@ -161,8 +161,8 @@ describe('Reverse Proxy', function () {
|
||||
});
|
||||
|
||||
it('returns staging acme in prod cloudron', async function () {
|
||||
const { acmeApi, apiOptions } = await reverseProxy._getAcmeApi(domainCopy);
|
||||
expect(acmeApi._name).to.be('acme');
|
||||
const { acme2, apiOptions } = await reverseProxy._getAcmeApi(domainCopy);
|
||||
expect(acme2._name).to.be('acme');
|
||||
expect(apiOptions.prod).to.be(false);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user