changed messages
gitea/salix/2003-adress_validate_uee_members This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-01-29 14:13:25 +01:00
parent a6d94737af
commit 499bd082fc
6 changed files with 6 additions and 6 deletions

View File

@ -74,7 +74,7 @@ describe('Client create path', async() => {
await page.waitToClick(selectors.createClientView.createButton);
const result = await page.waitForLastSnackbar();
expect(result).toEqual(`The postcode doesn't exists. Ensure you put the correct format`);
expect(result).toEqual(`The postcode doesn't exist. Please enter a correct one`);
});
it(`should check for autocompleted city, province and country`, async() => {

View File

@ -54,7 +54,7 @@
"This ticket can not be modified": "This ticket can not be modified",
"You can't delete a confirmed order": "You can't delete a confirmed order",
"Value has an invalid format": "Value has an invalid format",
"The postcode doesn't exists. Ensure you put the correct format": "The postcode doesn't exists. Ensure you put the correct format",
"The postcode doesn't exist. Please enter a correct one": "The postcode doesn't exist. Please enter a correct one",
"Can't create stowaway for this ticket": "Can't create stowaway for this ticket",
"Has deleted the ticket id": "Has deleted the ticket id [#{{id}}]({{{url}}})",
"Swift / BIC can't be empty": "Swift / BIC can't be empty",

View File

@ -106,7 +106,7 @@
"Invalid quantity": "Cantidad invalida",
"This postal code is not valid": "This postal code is not valid",
"is invalid": "is invalid",
"The postcode doesn't exists. Ensure you put the correct format": "El código postal no existe. Asegúrate de ponerlo con el formato correcto",
"The postcode doesn't exist. Please enter a correct one": "El código postal no existe. Por favor, introduce uno correcto",
"The department name can't be repeated": "El nombre del departamento no puede repetirse",
"This phone already exists": "Este teléfono ya existe",
"You cannot move a parent to its own sons": "No puedes mover un elemento padre a uno de sus hijos",

View File

@ -61,7 +61,7 @@ describe('Address updateAddress', () => {
expect(err.message).toEqual('Customs agent is required for a non UEE member');
});
it('should update the adress from a non uee member and not throw an error', async() => {
it('should update the adress from a non uee member with no error thrown', async() => {
const expectedResult = 'My edited address';
const ctx = {
args: {

View File

@ -23,7 +23,7 @@ module.exports = Self => {
}
Self.validateAsync('postalCode', hasValidPostcode, {
message: `The postcode doesn't exists. Ensure you put the correct format`
message: `The postcode doesn't exist. Please enter a correct one`
});
async function hasValidPostcode(err, done) {

View File

@ -158,7 +158,7 @@ module.exports = Self => {
}
Self.validateAsync('postCode', hasValidPostcode, {
message: `The postcode doesn't exists. Ensure you put the correct format`
message: `The postcode doesn't exist. Please enter a correct one`
});
async function hasValidPostcode(err, done) {