mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
rename update method and update return types
This commit is contained in:
@@ -15,7 +15,7 @@ describe("QueryResolvers", () => {
|
||||
async function addMockSystems() {
|
||||
const systems = generateMockSystems();
|
||||
await Promise.all(systems.map(async (system) => {
|
||||
await context.shuttleRepository.addOrUpdateSystem(system);
|
||||
await context.shuttleRepository.updateSystem(system);
|
||||
}));
|
||||
return systems;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user