8524-devToTest #3415

Merged
alexm merged 343 commits from 8524-devToTest into test 2025-02-04 13:42:16 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit a01c419b44 - Show all commits

View File

@ -22,10 +22,10 @@ describe('route summary()', () => {
});
it(`should return a summary object containing it's worker`, async() => {
const result = await app.models.Route.summary(1);
const result = await app.models.Route.summary(2);
const worker = result.route.worker().user();
expect(worker.name).toEqual('deliveryfreelancer');
expect(worker.name).toEqual('delivery');
});
it(`should return a summary object containing data from the tickets`, async() => {