Commit Graph

300 Commits

Author SHA1 Message Date
f74376c8ed add test and code for client closure events 2025-04-30 18:17:55 -07:00
31e9c78ebd add test for closing connection on emitting closure events 2025-04-30 18:09:29 -07:00
4b77a89ac2 Merge branch 'main' into chore/improve-apns-performance 2025-04-30 17:54:00 -07:00
9dcc17b687 add test to check that connection is reused 2025-04-30 17:33:54 -07:00
a7c33c9479 empty commit to fix actions? 2025-04-29 17:21:17 -07:00
1c7ee9fbc3 change all millisecond references into Dates 2025-04-29 17:05:23 -07:00
b58babc7ea change updatedTime into a Date 2025-04-29 17:01:51 -07:00
f68dad0ca2 update parking system tests to use updatedTime parameter 2025-04-29 16:54:22 -07:00
bdb1da0bc4 fix test due to mismatched timestamps on parking repo loader 2025-04-29 16:30:45 -07:00
570ab8a178 update tests and mock data generators 2025-04-29 16:18:46 -07:00
95f2e6ec29 add system id to the notification payload for good measure 2025-04-22 11:15:35 -07:00
02e440773a add functionality to normalize the spots available if over capacity 2025-04-16 17:18:48 -07:00
dd1a448160 display parking system in system resolver and remove unnecessary test 2025-04-16 17:06:09 -07:00
544cab5324 move parking structures to a sub-field of system 2025-04-16 17:01:41 -07:00
2092827d37 implement endpoints and update test 2025-04-16 16:52:45 -07:00
c9ecc18495 implement parkingStructure tests 2025-04-16 16:45:08 -07:00
a38ca3d3de add rest of parkingStructures tests 2025-04-16 16:39:07 -07:00
ea1150a98d add test for getting parking structures associated with id 2025-04-16 16:35:48 -07:00
37a67aace7 update system testing builder with parking system 2025-04-16 16:32:53 -07:00
1624d78cb5 add parking structures generator 2025-04-16 16:31:56 -07:00
a6d4b40fba add test cases for endpoints 2025-04-16 16:28:09 -07:00
c9aa2c401f restructure parking and shuttle repository loaders 2025-04-11 17:13:39 -07:00
0e3c12bebc add test for ChapmanApiBasedParkingRepositoryLoader.fetchAndUpdateAll 2025-04-11 17:09:52 -07:00
50350d8c49 add test for ApiBasedShuttleRepositoryLoader.fetchAndUpdateAll 2025-04-11 17:08:20 -07:00
44095e711a make timeoutMs a settable property 2025-04-11 16:57:47 -07:00
6cc20a4a6a remove redundant TODO 2025-04-11 16:53:45 -07:00
a0e0c19ca3 update timed loader to use class composition 2025-04-11 16:52:27 -07:00
49b823890f remove "Timed" from class name to prepare for subclassing 2025-04-11 16:13:36 -07:00
f67e3f13f5 update test data for correctness 2025-04-10 16:58:30 -07:00
e25a96f704 add test for ApiResponseError 2025-04-10 16:46:59 -07:00
b6856a98a2 move ApiResponseError assertion function to separate file 2025-04-10 16:46:20 -07:00
263607fc69 move ApiResponseError to separate file 2025-04-10 16:44:57 -07:00
3d6dc1e7b6 add pass to check validity of parking structures generated 2025-04-10 16:43:04 -07:00
8c810c5224 add setup of loader 2025-04-10 16:36:28 -07:00
aed005f7a7 add successful JSON response for chapman parking structure data 2025-04-10 16:29:13 -07:00
726af52685 rename test file 2025-04-10 16:27:15 -07:00
b9810057ce add test cases 2025-04-10 16:26:41 -07:00
fe2b8b2f69 add test cases 2025-04-08 16:45:58 -07:00
0ce0c54ddd remove IPassioSystem entity 2025-04-08 16:09:15 -07:00
2741d229f9 rename entities.ts to ShuttleRepositoryEntities.ts 2025-04-08 16:07:48 -07:00
c7666c092c update remaining tests 2025-04-07 19:55:25 -07:00
b6f3e4ccde update method signatures to not include system id 2025-04-07 19:17:14 -07:00
0076d987ca rename methods in getter repository 2025-04-07 19:06:18 -07:00
495a946e78 use the correct system ID for mock data in eta loader test 2025-04-07 13:59:11 -07:00
8e3765abfb update tests to correctly test internal system ID and passio ID 2025-04-07 13:47:50 -07:00
25f2a8c458 differentiate between passio system ID and internal ID in loader class 2025-04-07 13:26:19 -07:00
87dfd0dab1 rename build method to buildForTesting 2025-04-07 12:47:31 -07:00
0525ccc7e4 update system ID in ETA notification scheduler test 2025-04-07 12:42:34 -07:00
c8ea822626 update query resolver tests to modify the context 2025-04-07 12:37:08 -07:00
1e7082813d reference correct system which is rebuilt every test 2025-04-07 12:26:49 -07:00