We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7d8e1f commit c323734Copy full SHA for c323734
1 file changed
auth/src/test/java/com/firebase/ui/auth/ui/screens/FirebaseAuthScreenRouteTest.kt
@@ -57,6 +57,23 @@ class FirebaseAuthScreenRouteTest {
57
assertThat(getStartRoute(configuration)).isEqualTo(AuthRoute.Phone)
58
}
59
60
+ @Test
61
+ fun `single google provider starts at method picker`() {
62
+ val configuration = authUIConfiguration {
63
+ context = applicationContext
64
+ providers {
65
+ provider(
66
+ AuthProvider.Google(
67
+ scopes = emptyList(),
68
+ serverClientId = "test-client-id"
69
+ )
70
71
+ }
72
73
+
74
+ assertThat(getStartRoute(configuration)).isEqualTo(AuthRoute.MethodPicker)
75
76
77
@Test
78
fun `single email provider shows picker when always shown is enabled`() {
79
val configuration = authUIConfiguration {
0 commit comments