Fix test auth-admin

This commit is contained in:
Pierre Noël 2020-12-15 10:45:24 +01:00 committed by Convly
parent 2a483ba958
commit 8b088f323c
2 changed files with 1 additions and 2 deletions

View File

@ -147,7 +147,7 @@ module.exports = {
return ctx.badRequest('ValidationError', err);
}
await strapi.admin.services.auth.forgotPassword(input);
strapi.admin.services.auth.forgotPassword(input);
ctx.status = 204;
},

View File

@ -60,7 +60,6 @@ const main = async (database, args) => {
process.exit(0);
} catch (error) {
console.log(error);
process.stdout.write('Tests failed\n', () => {
process.exit(1);
});