mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
update loadShuttleTestData for integration tests
This commit is contained in:
@@ -4324,6 +4324,7 @@ const routes: IRoute[] = [
|
||||
systemId: supportedIntegrationTestSystems[0].id,
|
||||
polylineCoordinates: redRoutePolylineCoordinates,
|
||||
color: "#db2316",
|
||||
updatedTimeMs: Date.now(),
|
||||
},
|
||||
{
|
||||
name: "Teal Route",
|
||||
@@ -4331,6 +4332,7 @@ const routes: IRoute[] = [
|
||||
systemId: supportedIntegrationTestSystems[0].id,
|
||||
polylineCoordinates: tealRoutePolylineCoordinates,
|
||||
color: "#21bdd1",
|
||||
updatedTimeMs: Date.now(),
|
||||
},
|
||||
];
|
||||
|
||||
@@ -4343,6 +4345,7 @@ const stops: IStop[] = [
|
||||
longitude: -117.8892805,
|
||||
},
|
||||
systemId: supportedIntegrationTestSystems[0].id,
|
||||
updatedTimeMs: Date.now(),
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
@@ -4352,6 +4355,7 @@ const stops: IStop[] = [
|
||||
longitude: -117.895966,
|
||||
},
|
||||
systemId: supportedIntegrationTestSystems[0].id,
|
||||
updatedTimeMs: Date.now(),
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
@@ -4361,6 +4365,7 @@ const stops: IStop[] = [
|
||||
"longitude": -117.85281
|
||||
},
|
||||
systemId: supportedIntegrationTestSystems[0].id,
|
||||
updatedTimeMs: Date.now(),
|
||||
}
|
||||
];
|
||||
|
||||
@@ -4370,12 +4375,14 @@ const orderedStopsForRedRoute: IOrderedStop[] = [
|
||||
stopId: stops[0].id,
|
||||
position: 1,
|
||||
systemId: "1",
|
||||
updatedTimeMs: Date.now(),
|
||||
},
|
||||
{
|
||||
routeId: routes[0].id,
|
||||
stopId: stops[2].id,
|
||||
position: 2,
|
||||
systemId: "1",
|
||||
updatedTimeMs: Date.now(),
|
||||
},
|
||||
];
|
||||
|
||||
@@ -4385,18 +4392,21 @@ const orderedStopsForTealRoute: IOrderedStop[] = [
|
||||
stopId: stops[0].id,
|
||||
position: 1,
|
||||
systemId: supportedIntegrationTestSystems[0].id,
|
||||
updatedTimeMs: Date.now(),
|
||||
},
|
||||
{
|
||||
routeId: routes[1].id,
|
||||
stopId: stops[1].id,
|
||||
position: 2,
|
||||
systemId: supportedIntegrationTestSystems[0].id,
|
||||
updatedTimeMs: Date.now(),
|
||||
},
|
||||
{
|
||||
routeId: routes[1].id,
|
||||
stopId: stops[2].id,
|
||||
position: 2,
|
||||
systemId: supportedIntegrationTestSystems[0].id,
|
||||
updatedTimeMs: Date.now(),
|
||||
},
|
||||
]
|
||||
|
||||
@@ -4416,6 +4426,7 @@ const shuttles: IShuttle[] = [
|
||||
routeId: routes[0].id,
|
||||
systemId: supportedIntegrationTestSystems[0].id,
|
||||
orientationInDegrees: 45.91,
|
||||
updatedTimeMs: Date.now(),
|
||||
},
|
||||
{
|
||||
name: "24",
|
||||
@@ -4427,6 +4438,7 @@ const shuttles: IShuttle[] = [
|
||||
routeId: routes[0].id,
|
||||
systemId: supportedIntegrationTestSystems[0].id,
|
||||
orientationInDegrees: 90.24,
|
||||
updatedTimeMs: Date.now(),
|
||||
}
|
||||
];
|
||||
|
||||
@@ -4436,24 +4448,28 @@ const etas: IEta[] = [
|
||||
shuttleId: shuttles[0].id,
|
||||
secondsRemaining: 12.023,
|
||||
systemId: supportedIntegrationTestSystems[0].id,
|
||||
updatedTimeMs: Date.now(),
|
||||
},
|
||||
{
|
||||
stopId: stops[2].id,
|
||||
shuttleId: shuttles[0].id,
|
||||
secondsRemaining: 600.123,
|
||||
systemId: supportedIntegrationTestSystems[0].id,
|
||||
updatedTimeMs: Date.now(),
|
||||
},
|
||||
{
|
||||
stopId: stops[2].id,
|
||||
shuttleId: shuttles[1].id,
|
||||
secondsRemaining: 172.015,
|
||||
systemId: supportedIntegrationTestSystems[0].id,
|
||||
updatedTimeMs: Date.now(),
|
||||
},
|
||||
{
|
||||
stopId: stops[0].id,
|
||||
shuttleId: shuttles[1].id,
|
||||
secondsRemaining: 710.152,
|
||||
systemId: supportedIntegrationTestSystems[0].id,
|
||||
updatedTimeMs: Date.now(),
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user