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:
@@ -133,7 +133,7 @@ describe("SystemResolvers", () => {
|
||||
...mockSystem,
|
||||
id: "2",
|
||||
}
|
||||
await context.shuttleRepository.addOrUpdateSystem(updatedSystem);
|
||||
await context.shuttleRepository.updateSystem(updatedSystem);
|
||||
|
||||
const mockStop = await addMockStopToRepository(context.shuttleRepository, updatedSystem.id);
|
||||
|
||||
@@ -199,7 +199,7 @@ describe("SystemResolvers", () => {
|
||||
...mockSystem,
|
||||
id: "2",
|
||||
}
|
||||
await context.shuttleRepository.addOrUpdateSystem(updatedSystem);
|
||||
await context.shuttleRepository.updateSystem(updatedSystem);
|
||||
|
||||
const mockRoute = await addMockRouteToRepository(context.shuttleRepository, updatedSystem.id);
|
||||
|
||||
@@ -265,7 +265,7 @@ describe("SystemResolvers", () => {
|
||||
...mockSystem,
|
||||
id: "2",
|
||||
}
|
||||
await context.shuttleRepository.addOrUpdateSystem(updatedSystem);
|
||||
await context.shuttleRepository.updateSystem(updatedSystem);
|
||||
|
||||
const mockShuttle = await addMockShuttleToRepository(context.shuttleRepository, updatedSystem.id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user