Set mail location for tests to work

This commit is contained in:
Johannes Zellner
2023-01-19 18:23:25 +01:00
parent 3552232e99
commit deb318d764

View File

@@ -220,6 +220,7 @@ async function domainSetup() {
nock.cleanAll();
await databaseSetup();
await settings.setMailLocation(domain.domain, `${constants.DASHBOARD_SUBDOMAIN}.${domain.domain}`); // default mail location. do this before we add the domain for upserting mail DNS
await domains.add(domain.domain, domain, auditSource);
}