fixed ticket filter back-end test

This commit is contained in:
Joan Sanchez 2018-08-23 10:48:44 +02:00
parent c7ff42b409
commit d39ef8827f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
});