From ac04a94d5bde2d31877a764211364c8f1438c06d Mon Sep 17 00:00:00 2001 From: Till Hellmund Date: Fri, 6 Dec 2024 15:23:40 -0500 Subject: [PATCH] Fix test issues --- link/src/test/java/com/stripe/android/link/TestFactory.kt | 2 ++ .../androidTest/resources/consumer-accounts-signup-success.json | 1 + 2 files changed, 3 insertions(+) diff --git a/link/src/test/java/com/stripe/android/link/TestFactory.kt b/link/src/test/java/com/stripe/android/link/TestFactory.kt index 9cd4a0602dd..d2f382c94f1 100644 --- a/link/src/test/java/com/stripe/android/link/TestFactory.kt +++ b/link/src/test/java/com/stripe/android/link/TestFactory.kt @@ -27,6 +27,7 @@ internal object TestFactory { const val EMAIL = "email@stripe.com" const val CLIENT_SECRET = "client_secret" + const val ACCOUNT_ID = "acct_123" const val PUBLISHABLE_KEY = "publishable_key" const val MERCHANT_NAME = "merchantName" const val CUSTOMER_EMAIL = "customer@email.com" @@ -55,6 +56,7 @@ internal object TestFactory { ) val CONSUMER_SESSION_SIGN_UP = ConsumerSessionSignup( + accountId = ACCOUNT_ID, consumerSession = CONSUMER_SESSION, publishableKey = PUBLISHABLE_KEY ) diff --git a/paymentsheet/src/androidTest/resources/consumer-accounts-signup-success.json b/paymentsheet/src/androidTest/resources/consumer-accounts-signup-success.json index 7235d2bc682..d45983dfea0 100644 --- a/paymentsheet/src/androidTest/resources/consumer-accounts-signup-success.json +++ b/paymentsheet/src/androidTest/resources/consumer-accounts-signup-success.json @@ -1,4 +1,5 @@ { + "account_id": "acct_123", "auth_session_client_secret": null, "publishable_key": "pk_545454676767898989", "consumer_session": {