Release v0.6.0 #159

Merged
niggl merged 43 commits from dev into main 2021-03-17 17:58:21 +00:00
2 changed files with 1 additions and 4 deletions
Showing only changes of commit 92920273be - Show all commits

View File

@ -28,9 +28,6 @@ if (typeof config.development !== "boolean") {
if (config.mailer_url == "" || config.mailer_key == "") { if (config.mailer_url == "" || config.mailer_key == "") {
errors++; errors++;
} }
if (config.testing) {
console.log("Discovered testing env. Ignoring all mailing errors!")
}
function getPhoneCodeLocale(): CountryCode { function getPhoneCodeLocale(): CountryCode {
return (process.env.PHONE_COUNTRYCODE as CountryCode); return (process.env.PHONE_COUNTRYCODE as CountryCode);
} }

View File

@ -38,7 +38,7 @@ describe('POST /api/auth/reset valid', () => {
it('valid reset token request should return 200 (500 w/o correct auth)', async () => { it('valid reset token request should return 200 (500 w/o correct auth)', async () => {
const res1 = await axios.post(base + '/api/auth/reset', { email: "demo_reset1@dev.lauf-fuer-kaya.de" }, axios_config); const res1 = await axios.post(base + '/api/auth/reset', { email: "demo_reset1@dev.lauf-fuer-kaya.de" }, axios_config);
reset_token = res1.data.resetToken; reset_token = res1.data.resetToken;
expect(res1.status).toEqual(500); expect(res1.status).toEqual(200);
}); });
}); });
// --------------- // ---------------