File tree Expand file tree Collapse file tree
paymentsheet/src/test/java/com/stripe/android/paymentsheet/state Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ internal class DefaultCreateLinkStateTest {
3333 fun `passes customer email from elements session into retrieveCustomerEmail` () = runTest {
3434 val retrieveCustomerEmail = FakeRetrieveCustomerEmail ()
3535 val createLinkState = createLinkStateFactory(retrieveCustomerEmail = retrieveCustomerEmail)
36- val customerEmail = " customer@example.com"
3736
3837 createLinkState(
3938 elementsSession = createElementsSession(customer = customerWithEmail),
@@ -43,7 +42,7 @@ internal class DefaultCreateLinkStateTest {
4342 clientAttributionMetadata = DEFAULT_CLIENT_ATTRIBUTION_METADATA ,
4443 )
4544
46- assertThat(retrieveCustomerEmail.invokedWith?.customerEmail).isEqualTo(customerEmail )
45+ assertThat(retrieveCustomerEmail.invokedWith?.customerEmail).isEqualTo(customerWithEmail.email )
4746 }
4847
4948 @Test
You can’t perform that action at this time.
0 commit comments