Commit Graph

281 Commits

Author SHA1 Message Date
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
26cdab9907 copy over test for APNs token reload 2025-03-24 09:48:35 -07:00
619ef9a27f update naming of classes and tests 2025-03-24 09:20:10 -07:00
c0b7d99e8e add orientation data for mock shuttles function 2025-03-17 13:18:34 -07:00
e22537d93d add second test for false condition 2025-02-12 19:52:20 -08:00
8971e3514d add isNotificationScheduled resolver and test cases 2025-02-12 19:51:42 -08:00
c1ec50db7b add TupleKey method to convert string key back to tuple 2025-02-12 19:39:37 -08:00
bb77aca4ed add second test (base case) 2025-02-12 19:34:19 -08:00
b4f1f1b87d add rest of first test 2025-02-12 19:33:55 -08:00
420682dbb8 add arrange portion of first test 2025-02-12 19:32:46 -08:00
3ce72d79be add NotificationService method and test case stub 2025-02-12 19:30:11 -08:00
a74a6c995a update implementation and test for getAPNsFullUrlToUse 2025-02-11 11:58:13 -08:00
ebcd35b85d use base64 encoded private key for apns 2025-02-11 11:46:46 -08:00
6d1a85c2b4 use 403 status for non-successful mock 2025-02-10 14:02:49 -08:00
764f6e35f0 add http2 mock and update tests 2025-02-10 13:56:42 -08:00