update constructor of loaders to take a system id

This commit is contained in:
2025-04-06 10:24:55 -07:00
parent 4ea43ff21f
commit d607a3742c
4 changed files with 5 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ describe("TimedApiBasedRepositoryLoader", () => {
beforeEach(() => {
resetGlobalFetchMockJson();
loader = new TimedApiBasedShuttleRepositoryLoader(new UnoptimizedInMemoryShuttleRepository());
loader = new TimedApiBasedShuttleRepositoryLoader("1", new UnoptimizedInMemoryShuttleRepository());
spies = {
fetchAndUpdateSystemData: jest.spyOn(loader, 'fetchAndUpdateSystemData'),