fixed ticket filter back-end test
This commit is contained in:
parent
c7ff42b409
commit
d39ef8827f
|
@ -4,7 +4,7 @@ describe('ticket filter()', () => {
|
|||
it('should call the filter method', async() => {
|
||||
let filter = {order: 'shipped DESC'};
|
||||
let result = await app.models.Ticket.filter(filter);
|
||||
let ticketId = result[0].id;
|
||||
let ticketId = result[0].ticketFk;
|
||||
|
||||
expect(ticketId).toEqual(15);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue