test fixed

This commit is contained in:
Gerard 2019-03-05 15:00:17 +01:00
parent fbc84f48a1
commit dd7ded018b
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ const app = require('vn-loopback/server/server');
describe('ticket filter()', () => {
it('should call the filter method', async() => {
let ctx = {req: {accessToken: {userId: 9}}};
let ctx = {req: {accessToken: {userId: 9}}, args: {}};
let filter = {order: 'shipped DESC'};
let result = await app.models.Ticket.filter(ctx, filter);