update system testing builder with parking system

This commit is contained in:
2025-04-16 16:32:53 -07:00
parent 1624d78cb5
commit 37a67aace7

View File

@@ -7,6 +7,9 @@ import { ServerContext } from "../../src/ServerContext";
import { ETANotificationScheduler } from "../../src/notifications/schedulers/ETANotificationScheduler"; import { ETANotificationScheduler } from "../../src/notifications/schedulers/ETANotificationScheduler";
import { InMemoryNotificationRepository } from "../../src/repositories/InMemoryNotificationRepository"; import { InMemoryNotificationRepository } from "../../src/repositories/InMemoryNotificationRepository";
import { InterchangeSystem } from "../../src/entities/InterchangeSystem"; import { InterchangeSystem } from "../../src/entities/InterchangeSystem";
import {
ChapmanApiBasedParkingRepositoryLoader
} from "../../src/loaders/parking/ChapmanApiBasedParkingRepositoryLoader";
function setUpTestServer() { function setUpTestServer() {
@@ -20,7 +23,10 @@ function setUpTestServer() {
} }
const systemInfoForTesting = { const systemInfoForTesting = {
id: "1", name: "Chapman University", passioSystemId: "263" id: "1",
name: "Chapman University",
passioSystemId: "263",
parkingSystemId: ChapmanApiBasedParkingRepositoryLoader.id,
}; };
export function buildSystemForTesting() { export function buildSystemForTesting() {