refs #5679 typo
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2023-05-24 12:59:58 +02:00
parent 30c896c975
commit 6b66eb3bb2
3 changed files with 5 additions and 5 deletions

View File

@ -84,7 +84,7 @@
"The current ticket can't be modified": "El ticket actual no puede ser modificado",
"The current claim can't be modified": "La reclamación actual no puede ser modificada",
"The sales of this ticket can't be modified": "Las lineas de este ticket no pueden ser modificadas",
"The sales do not exist": "La(s) linea(s) seleccionada no(s) exite(n)",
"The sales do not exists": "La(s) linea(s) seleccionada(s) no exite(n)",
"Please select at least one sale": "Por favor selecciona al menos una linea",
"All sales must belong to the same ticket": "Todas las lineas deben pertenecer al mismo ticket",
"NO_ZONE_FOR_THIS_PARAMETERS": "Para este día no hay ninguna zona configurada",

View File

@ -39,7 +39,7 @@ module.exports = Self => {
}, myOptions);
if (!salesData.length)
throw new UserError(`The sales do not exist`);
throw new UserError(`The sales do not exists`);
const ticketId = salesData[0].ticketFk;

View File

@ -17,8 +17,8 @@ describe('sale canEdit()', () => {
});
});
describe('sale not exist', () => {
it('should return error if sale not exist', async() => {
describe('sale not exists', () => {
it('should return error if sale not exists', async() => {
const tx = await models.Sale.beginTransaction({});
try {
@ -39,7 +39,7 @@ describe('sale canEdit()', () => {
error = e.message;
}
expect(error).toEqual('The sales do not exist');
expect(error).toEqual('The sales do not exists');
});
});