-
-
Notifications
You must be signed in to change notification settings - Fork 850
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update FCM environment variables in Makefile and tests (#769)
* refactor: update FCM environment variables in Makefile and tests - Replace `ANDROID_API_KEY` with `FCM_CREDENTIAL` in Makefile - Replace `ANDROID_TEST_TOKEN` with `FCM_TEST_TOKEN` in Makefile - Update environment variable `ANDROID_API_KEY` to `FCM_CREDENTIAL` in notification FCM tests - Update environment variable `ANDROID_TEST_TOKEN` to `FCM_TEST_TOKEN` in notification FCM tests - Update environment variable `ANDROID_TEST_TOKEN` to `FCM_TEST_TOKEN` in server tests Signed-off-by: Bo-Yi Wu <[email protected]> * refactor: refactor FCM integration and update related tests - Replace Android API key and test token with FCM credentials in GitHub Actions workflow - Refactor platform case handling in `CheckMessage` function - Remove test cases for empty token and excessive tokens in FCM message tests - Rename `To` field to `Topic` in FCM message tests Signed-off-by: Bo-Yi Wu <[email protected]> * test: refactor notification tests and API integration - Disable Android configuration in Huawei notification tests Signed-off-by: Bo-Yi Wu <[email protected]> * test: refactor notification system for improved reliability - Remove the `TestCheckAndroidMessage` function from the FCM notification tests Signed-off-by: Bo-Yi Wu <[email protected]> * test: refactor and optimize device group notification tests - Change assertion in `TestSyncModeForDeviceGroupNotification` to expect 0 logs instead of 1 Signed-off-by: Bo-Yi Wu <[email protected]> * test: improve test coverage and API integration - Change assertion to check for zero logs instead of one in `TestSyncModeForTopicNotification` Signed-off-by: Bo-Yi Wu <[email protected]> --------- Signed-off-by: Bo-Yi Wu <[email protected]>
- Loading branch information
Showing
6 changed files
with
28 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters