push_notifs: Rename PushDeviceToken.GCM to FCM.

This commit is contained in:
Mateusz Mandera
2024-06-13 20:53:09 +02:00
committed by Tim Abbott
parent 4591202032
commit 00b8cce50e
8 changed files with 53 additions and 51 deletions

View File

@@ -417,7 +417,7 @@ class RateLimitTests(ZulipTestCase):
server.save()
endpoint = "/api/v1/remotes/push/register"
payload = {"user_id": 10, "token": "111222", "token_kind": PushDeviceToken.GCM}
payload = {"user_id": 10, "token": "111222", "token_kind": PushDeviceToken.FCM}
try:
# Remote servers can only make requests to the root subdomain.
original_default_subdomain = self.DEFAULT_SUBDOMAIN