Commit Graph

245 Commits

Author SHA1 Message Date
d95d112bf2 define findSystemById method 2025-04-06 14:38:02 -07:00
f31e010828 update method to set up test server context 2025-04-06 12:56:12 -07:00
56466964c1 update method calls in TimedApiBasedShuttleRepositoryLoader 2025-04-06 11:23:27 -07:00
8c2fb3a52a use simplified implementation without system loading 2025-04-06 11:21:07 -07:00
940d172e87 rename ISystem to IPassioSystem 2025-04-06 10:50:51 -07:00
6d762ce620 remove all system related data from shuttle repository 2025-04-06 10:49:47 -07:00
d607a3742c update constructor of loaders to take a system id 2025-04-06 10:24:55 -07:00
503bb0fec7 fix timed api loader tests 2025-04-06 10:16:58 -07:00
d584d1f58b update repository loader and tests to support only one system 2025-04-06 10:14:24 -07:00
5936c2b743 update tests to match new repository behavior 2025-04-06 09:57:03 -07:00
a144657fa8 update remove implementation and tests 2025-04-06 09:55:23 -07:00
695fec1fce rename update method and update return types 2025-04-06 09:51:13 -07:00
7e0c1f3539 rename get system method on shuttle repository, update tests 2025-04-06 09:48:55 -07:00
fbc08838df test unsubscribeFromNotificationChanges method 2025-03-31 20:34:45 -07:00
c6f846d109 add tests for isNotificationScheduled 2025-03-31 20:29:44 -07:00
50148cc2f4 implement RedisNotificationRepository 2025-03-31 20:26:26 -07:00
39066b88bc have teardown clear all data in redis before starting next test 2025-03-31 20:21:09 -07:00
372ecba952 restructure implementation holders into classes with teardown 2025-03-31 20:07:55 -07:00
998643dc04 add call to connect method in factory 2025-03-31 19:55:56 -07:00
f34a2f27d7 add redis notification repository tests back for edge cases 2025-03-31 19:52:51 -07:00
7a5e1b8561 use describe.each to test the multiple implementations 2025-03-31 19:50:37 -07:00
a7ac9888f6 add setup for repository tests 2025-03-31 19:43:17 -07:00
c59ccd7f1a replace notifications repository with a fresh one in the test 2025-03-31 19:24:34 -07:00
a95c89c15b update tests and index with updated scheduler interface 2025-03-31 19:21:10 -07:00
a84cedd05a add test and implementation for addOrUpdate listeners 2025-03-27 11:23:07 -07:00
51d66d8886 add tests and implementation for notification deletes 2025-03-27 11:18:43 -07:00
2b28b94dbd update eta notification scheduler test to use repository 2025-03-27 11:04:21 -07:00
ef94a9aa7e fix method calls and tests 2025-03-27 10:56:57 -07:00
3761f43909 update server context to only include the notification repository 2025-03-27 10:42:43 -07:00
bda46d6808 rename repository to server repository in server context 2025-03-27 10:38:02 -07:00
ae30660095 fix constructors 2025-03-27 10:23:30 -07:00
ead401a3b1 add tests for in-memory notification repository 2025-03-27 10:11:41 -07:00
101c5ca6e0 change name of test for in-memory notification repository 2025-03-27 10:07:11 -07:00
7379840070 extract notification repository to interface 2025-03-27 10:06:42 -07:00
c517d93e3a add test cases and rename some methods 2025-03-27 10:02:13 -07:00
09be37cedb move arguments and notification interfaces to notification repository file 2025-03-27 09:57:49 -07:00
60b626b64f also rename the tests 2025-03-27 09:35:05 -07:00
687fe0d826 finish the rename for the data loaders 2025-03-27 09:33:37 -07:00
fab99db755 rename existing repository to shuttle repository 2025-03-27 09:32:29 -07:00
4d74027b0e update schema types for backwards compatibility with current schema 2025-03-25 16:16:18 -07:00
717575e004 update query resolvers to add the seconds threshold 2025-03-25 16:00:13 -07:00
96e7e0297b update tests for mutation resolvers 2025-03-25 15:43:00 -07:00
fb49577cf6 add logic to send notification based on a provided threshold 2025-03-25 15:19:09 -07:00
07b80f2012 update tests to include the secondsThreshold argument 2025-03-25 14:59:03 -07:00
7e3305247d update notification scheduler tests with mock notification sender 2025-03-24 10:20:59 -07:00
2ccdba3d11 add test for failing error code 2025-03-24 10:14:43 -07:00
20282c3cf9 add test for APNs bundle ID 2025-03-24 10:13:58 -07:00
ac65e23984 add test for making a connection to the server 2025-03-24 10:11:17 -07:00
e433662f19 add test cases for sendNotificationImmediately 2025-03-24 10:09:37 -07:00
5670efb042 move getAPNsFullUrlToUse method to the notification sender tests 2025-03-24 10:05:10 -07:00