mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
update system testing builder with parking system
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user