This commit is contained in:
parent
c9af8cba81
commit
8d650cf6c0
|
@ -89,6 +89,6 @@ describe('ticket addSale()', () => {
|
|||
error = e;
|
||||
}
|
||||
|
||||
expect(error.message).toEqual(`This ticket is locked.`);
|
||||
expect(error.message).toEqual(`This ticket is locked`);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -40,7 +40,7 @@ describe('ticket isEditableOrThrow()', () => {
|
|||
expect(error.message).toEqual(`This ticket is not editable.`);
|
||||
});
|
||||
|
||||
it('should throw an error as this ticket is locked.', async() => {
|
||||
it('should throw an error as This ticket is locked', async() => {
|
||||
const tx = await models.Ticket.beginTransaction({});
|
||||
let error;
|
||||
try {
|
||||
|
@ -57,7 +57,7 @@ describe('ticket isEditableOrThrow()', () => {
|
|||
await tx.rollback();
|
||||
}
|
||||
|
||||
expect(error.message).toEqual(`This ticket is locked.`);
|
||||
expect(error.message).toEqual(`This ticket is locked`);
|
||||
});
|
||||
|
||||
it('should throw an error as you do not have enough privileges.', async() => {
|
||||
|
|
|
@ -39,6 +39,6 @@ describe('ticket recalculateComponents()', () => {
|
|||
error = e;
|
||||
}
|
||||
|
||||
expect(error).toEqual(new ForbiddenError(`This ticket is locked.`));
|
||||
expect(error).toEqual(new ForbiddenError(`This ticket is locked`));
|
||||
});
|
||||
});
|
||||
|
|
|
@ -23,7 +23,7 @@ describe('Ticket transferClient()', () => {
|
|||
error = e;
|
||||
}
|
||||
|
||||
expect(error.message).toEqual(`This ticket is locked.`);
|
||||
expect(error.message).toEqual(`This ticket is locked`);
|
||||
});
|
||||
|
||||
it('should be assigned a different clientFk', async() => {
|
||||
|
|
Loading…
Reference in New Issue