From cf03982d0cbbc62b86777302563e86fd511b5d1b Mon Sep 17 00:00:00 2001 From: carlossa Date: Mon, 22 Jan 2024 10:20:10 +0100 Subject: [PATCH] refs #6397 trad tback --- loopback/locale/es.json | 4 ++-- .../client/back/methods/client/specs/createWithUser.spec.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/loopback/locale/es.json b/loopback/locale/es.json index 8af8f092c..0c401c814 100644 --- a/loopback/locale/es.json +++ b/loopback/locale/es.json @@ -337,5 +337,5 @@ "You already have the mailAlias": "Ya tienes este alias de correo", "The alias cant be modified": "Este alias de correo no puede ser modificado", "No tickets to invoice": "No hay tickets para facturar", - "An email is necessary": "An email is necessary" -} \ No newline at end of file + "An email is necessary": "Es necesario un email" +} diff --git a/modules/client/back/methods/client/specs/createWithUser.spec.js b/modules/client/back/methods/client/specs/createWithUser.spec.js index af9b0aa03..cab354ede 100644 --- a/modules/client/back/methods/client/specs/createWithUser.spec.js +++ b/modules/client/back/methods/client/specs/createWithUser.spec.js @@ -70,9 +70,10 @@ describe('Client Create', () => { } catch (e) { error = e.message; - expect(error).toEqual(`An email is necessary`); await tx.rollback(); } + + expect(error).toEqual(`An email is necessary`); }); it('should create a new account', async() => {