mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-19 08:50:29 +00:00
In test helpers, update method call for ETA update
This commit is contained in:
@@ -37,7 +37,7 @@ export async function addMockEtaToRepository(repository: ShuttleGetterSetterRepo
|
|||||||
const expectedEta = etas[0];
|
const expectedEta = etas[0];
|
||||||
expectedEta.stopId = stopId;
|
expectedEta.stopId = stopId;
|
||||||
expectedEta.shuttleId = shuttleId;
|
expectedEta.shuttleId = shuttleId;
|
||||||
await repository.addOrUpdateEta(expectedEta);
|
await repository.addOrUpdateEtaFromExternalSource(expectedEta);
|
||||||
|
|
||||||
return expectedEta;
|
return expectedEta;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user