mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
rename get system method on shuttle repository, update tests
This commit is contained in:
@@ -45,7 +45,7 @@ describe("ApiBasedRepositoryLoader", () => {
|
||||
await loader.fetchAndUpdateSystemData();
|
||||
|
||||
// Assert
|
||||
const systems = await loader.repository.getSystems();
|
||||
const systems = await loader.repository.getSystemIfExists();
|
||||
if (loader.supportedSystemIds.length < numberOfSystemsInResponse) {
|
||||
expect(systems).toHaveLength(loader.supportedSystemIds.length);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user