6275-silex-to-salix #1878
|
@ -5,6 +5,6 @@ describe('route getExpeditionSummary()', () => {
|
|||
it('should return a summary of expeditions for a route', async() => {
|
||||
const result = await app.models.Route.getExpeditionSummary(routeId);
|
||||
|
||||
expect(result.length).toEqual(3);
|
||||
expect(result.every(route => route.id = routeId)).toBeTruthy();
|
||||
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
busca un test que te un map en el que es recorre que tots els registres tenen la routeId = 3 així el test es dinamic
Modificat test