From e02816978ab7d50da697770e896f755a4b506afe Mon Sep 17 00:00:00 2001 From: nbransby Date: Thu, 13 May 2021 22:27:12 +0100 Subject: [PATCH] Adding gcmSenderId in tests setup, closes #143 --- .../src/commonTest/kotlin/dev/gitlive/firebase/firebase.kt | 3 ++- .../src/commonTest/kotlin/dev/gitlive/firebase/auth/auth.kt | 3 ++- .../kotlin/dev/gitlive/firebase/firestore/firestore.kt | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/firebase-app/src/commonTest/kotlin/dev/gitlive/firebase/firebase.kt b/firebase-app/src/commonTest/kotlin/dev/gitlive/firebase/firebase.kt index bff34f2aa..38894f1fe 100644 --- a/firebase-app/src/commonTest/kotlin/dev/gitlive/firebase/firebase.kt +++ b/firebase-app/src/commonTest/kotlin/dev/gitlive/firebase/firebase.kt @@ -17,7 +17,8 @@ class FirebaseAppTest { apiKey = "AIzaSyCK87dcMFhzCz_kJVs2cT2AVlqOTLuyWV0", databaseUrl = "https://fir-kotlin-sdk.firebaseio.com", storageBucket = "fir-kotlin-sdk.appspot.com", - projectId = "fir-kotlin-sdk" + projectId = "fir-kotlin-sdk", + gcmSenderId = "846484016111" ) ) } diff --git a/firebase-auth/src/commonTest/kotlin/dev/gitlive/firebase/auth/auth.kt b/firebase-auth/src/commonTest/kotlin/dev/gitlive/firebase/auth/auth.kt index c4b8943e6..e14161147 100644 --- a/firebase-auth/src/commonTest/kotlin/dev/gitlive/firebase/auth/auth.kt +++ b/firebase-auth/src/commonTest/kotlin/dev/gitlive/firebase/auth/auth.kt @@ -26,7 +26,8 @@ class FirebaseAuthTest { apiKey = "AIzaSyCK87dcMFhzCz_kJVs2cT2AVlqOTLuyWV0", databaseUrl = "https://fir-kotlin-sdk.firebaseio.com", storageBucket = "fir-kotlin-sdk.appspot.com", - projectId = "fir-kotlin-sdk" + projectId = "fir-kotlin-sdk", + gcmSenderId = "846484016111" ) ) Firebase.auth.useEmulator(emulatorHost, 9099) diff --git a/firebase-firestore/src/commonTest/kotlin/dev/gitlive/firebase/firestore/firestore.kt b/firebase-firestore/src/commonTest/kotlin/dev/gitlive/firebase/firestore/firestore.kt index 5175e3931..eee47d32c 100644 --- a/firebase-firestore/src/commonTest/kotlin/dev/gitlive/firebase/firestore/firestore.kt +++ b/firebase-firestore/src/commonTest/kotlin/dev/gitlive/firebase/firestore/firestore.kt @@ -29,7 +29,8 @@ class FirebaseFirestoreTest { apiKey = "AIzaSyCK87dcMFhzCz_kJVs2cT2AVlqOTLuyWV0", databaseUrl = "https://fir-kotlin-sdk.firebaseio.com", storageBucket = "fir-kotlin-sdk.appspot.com", - projectId = "fir-kotlin-sdk" + projectId = "fir-kotlin-sdk", + gcmSenderId = "846484016111" ) ) Firebase.firestore.useEmulator(emulatorHost, 8080)