8448-devToTest #3373
|
@ -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}]);
|
||||||
|
|
Loading…
Reference in New Issue