rename update method and update return types
This commit is contained in:
@@ -11,7 +11,7 @@ export async function addMockSystemToRepository(repository: ShuttleGetterSetterR
|
||||
const mockSystems = generateMockSystems();
|
||||
const mockSystem = mockSystems[0];
|
||||
mockSystem.id = "1";
|
||||
await repository.addOrUpdateSystem(mockSystem);
|
||||
await repository.updateSystem(mockSystem);
|
||||
|
||||
return mockSystem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user