more test fixes

This commit is contained in:
Girish Ramakrishnan
2021-06-03 16:16:04 -07:00
parent 8da4eaf4a3
commit a0c4ef9d0f
2 changed files with 9 additions and 7 deletions

View File

@@ -193,6 +193,12 @@ describe('Certificates', function () {
});
describe('configureApp', function () {
before(function (done) {
DOMAIN_0.tlsConfig = { provider: 'fallback' };
domains.update(DOMAIN_0.domain, DOMAIN_0, AUDIT_SOURCE, done);
});
it('configure nginx correctly', function (done) {
reverseProxy.configureApp(APP, AUDIT_SOURCE, function (error) {
expect(fs.existsSync(paths.NGINX_APPCONFIG_DIR + '/' + APP.id + '.conf'));