From 0cbc8933b31a3b35f1d87c8bbdb7feca512f4d34 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Fri, 15 Dec 2023 02:08:54 +1300 Subject: [PATCH] Fix FCM_TO key --- .env | 2 +- .github/workflows/test.yml | 2 +- tests/Messaging/Adapter/Push/FCMTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env b/.env index 117c815..f5fc27a 100644 --- a/.env +++ b/.env @@ -2,7 +2,7 @@ MAILGUN_API_KEY= MAILGUN_DOMAIN= SENDGRID_API_KEY= FCM_SERVICE_ACCOUNT_JSON= -FCM_SERVER_TO= +FCM_TO= TWILIO_ACCOUNT_SID= TWILIO_AUTH_TOKEN= TWILIO_TO= diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f6fad4e..032c6b6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: MAILGUN_DOMAIN: ${{ secrets.MAILGUN_DOMAIN }} SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }} FCM_SERVICE_ACCOUNT_JSON: ${{ secrets.FCM_SERVICE_ACCOUNT_JSON }} - FCM_SERVER_TO: ${{ secrets.FCM_SERVER_TO }} + FCM_TO: ${{ secrets.FCM_TO }} TWILIO_ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }} TWILIO_AUTH_TOKEN: ${{ secrets.TWILIO_AUTH_TOKEN }} TWILIO_TO: ${{ secrets.TWILIO_TO }} diff --git a/tests/Messaging/Adapter/Push/FCMTest.php b/tests/Messaging/Adapter/Push/FCMTest.php index cacea5a..50e0391 100644 --- a/tests/Messaging/Adapter/Push/FCMTest.php +++ b/tests/Messaging/Adapter/Push/FCMTest.php @@ -14,7 +14,7 @@ public function testSend(): void $adapter = new FCMAdapter($serverKey); - $to = \getenv('FCM_SERVER_TO'); + $to = \getenv('FCM_TO'); $message = new Push( to: [$to],