We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43b2c39 commit 71acb7aCopy full SHA for 71acb7a
1 file changed
e2eTest/src/test/java/com/firebase/ui/auth/ui/screens/GoogleAuthScreenTest.kt
@@ -149,13 +149,15 @@ class GoogleAuthScreenTest {
149
150
@Test
151
fun `anonymous upgrade with google links anonymous user and emits Success auth state`() = runTest {
152
- val email = "anonymousupgrade@example.com"
+ val email = "anonymous-google-upgrade-${System.currentTimeMillis()}@example.com"
153
+ val sub = "anonymous-google-upgrade-${System.nanoTime()}"
154
val name = "Anonymous Upgrade User"
155
val photoUrl = "https://example.com/avatar.jpg"
156
157
// Generate a JWT token for the Google account
158
val mockIdToken = generateMockGoogleIdToken(
159
email = email,
160
+ sub = sub,
161
name = name,
162
photoUrl = photoUrl
163
)
0 commit comments