mirror of
https://github.com/strapi/strapi.git
synced 2025-12-25 06:04:29 +00:00
Fix test auth-admin
This commit is contained in:
parent
2a483ba958
commit
8b088f323c
@ -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;
|
||||
},
|
||||
|
||||
@ -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);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user