mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-16 23:40:32 +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];
|
||||
expectedEta.stopId = stopId;
|
||||
expectedEta.shuttleId = shuttleId;
|
||||
await repository.addOrUpdateEta(expectedEta);
|
||||
await repository.addOrUpdateEtaFromExternalSource(expectedEta);
|
||||
|
||||
return expectedEta;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user