parent
6bb3ae8ba9
commit
92920273be
|
@ -28,9 +28,6 @@ if (typeof config.development !== "boolean") {
|
|||
if (config.mailer_url == "" || config.mailer_key == "") {
|
||||
errors++;
|
||||
}
|
||||
if (config.testing) {
|
||||
console.log("Discovered testing env. Ignoring all mailing errors!")
|
||||
}
|
||||
function getPhoneCodeLocale(): CountryCode {
|
||||
return (process.env.PHONE_COUNTRYCODE as CountryCode);
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ describe('POST /api/auth/reset valid', () => {
|
|||
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);
|
||||
reset_token = res1.data.resetToken;
|
||||
expect(res1.status).toEqual(500);
|
||||
expect(res1.status).toEqual(200);
|
||||
});
|
||||
});
|
||||
// ---------------
|
||||
|
|
Loading…
Reference in New Issue