8448-devToTest #3373

Merged
alexm merged 98 commits from 8448-devToTest into test 2025-01-21 10:00:50 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit b5e27707a7 - Show all commits

View File

@ -16,7 +16,7 @@ describe('Ticket saveSign()', () => {
}); });
}); });
fit(`should throw error if the ticket's alert level is lower than 2`, async() => { it(`should throw error if the ticket's alert level is lower than 2`, async() => {
const tx = await models.TicketDms.beginTransaction({}); const tx = await models.TicketDms.beginTransaction({});
const ticketWithOkState = 12; const ticketWithOkState = 12;
let error; let error;
@ -35,7 +35,7 @@ describe('Ticket saveSign()', () => {
expect(error).toBeDefined(); expect(error).toBeDefined();
}); });
fit('should change state for ticket', async() => { it('should change state for ticket', async() => {
const tx = await models.Ticket.beginTransaction({}); const tx = await models.Ticket.beginTransaction({});
const ticketWithPackedState = 7; const ticketWithPackedState = 7;
spyOn(models.Dms, 'uploadFile').and.returnValue([{id: 1}]); spyOn(models.Dms, 'uploadFile').and.returnValue([{id: 1}]);