diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 87a85fd..3afefaa 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -29,7 +29,7 @@ jobs: run: ./gradlew testDebugUnitTest acceptance: - runs-on: macos-13 + runs-on: macos-15-intel environment: PR env: diff --git a/example/src/androidTest/java/com/basistheory/elements/example/CollectCardTests.kt b/example/src/androidTest/java/com/basistheory/elements/example/CollectCardTests.kt index a2d5b9f..1d1e990 100644 --- a/example/src/androidTest/java/com/basistheory/elements/example/CollectCardTests.kt +++ b/example/src/androidTest/java/com/basistheory/elements/example/CollectCardTests.kt @@ -172,7 +172,7 @@ class CollectCardTests { .perform(waitUntilVisible(10000L)) onView(withId(R.id.card_brand_selector)).perform(click()) - onView(withText("CARTES BANCAIRES")).perform(click()) + onView(withText("CARTES_BANCAIRES")).perform(click()) onView(withId(R.id.tokenize_button)).check(matches(isEnabled())) } diff --git a/lib/src/main/java/com/basistheory/elements/constants/CardBrands.kt b/lib/src/main/java/com/basistheory/elements/constants/CardBrands.kt index 902a41c..c5bc10c 100644 --- a/lib/src/main/java/com/basistheory/elements/constants/CardBrands.kt +++ b/lib/src/main/java/com/basistheory/elements/constants/CardBrands.kt @@ -13,5 +13,5 @@ enum class CardBrands(val label: String) { MIR("mir"), HIPER("hiper"), HIPERCARD("hipercard"), - CARTES_BANCAIRES("cartes-bancaires") + CARTES_BANCAIRES("cartes_bancaires") } \ No newline at end of file diff --git a/lib/src/main/java/com/basistheory/elements/constants/CoBadgedSupport.kt b/lib/src/main/java/com/basistheory/elements/constants/CoBadgedSupport.kt index bebb0bd..b0fe52e 100644 --- a/lib/src/main/java/com/basistheory/elements/constants/CoBadgedSupport.kt +++ b/lib/src/main/java/com/basistheory/elements/constants/CoBadgedSupport.kt @@ -1,7 +1,7 @@ package com.basistheory.elements.constants enum class CoBadgedSupport(val value: String) { - CARTES_BANCAIRES("cartes-bancaires"); + CARTES_BANCAIRES("cartes_bancaires"); companion object { fun fromString(value: String): CoBadgedSupport? { diff --git a/lib/src/main/java/com/basistheory/elements/view/CardNumberElement.kt b/lib/src/main/java/com/basistheory/elements/view/CardNumberElement.kt index 9243f9e..9d3ca78 100644 --- a/lib/src/main/java/com/basistheory/elements/view/CardNumberElement.kt +++ b/lib/src/main/java/com/basistheory/elements/view/CardNumberElement.kt @@ -14,14 +14,11 @@ import com.basistheory.elements.event.EventDetails import com.basistheory.elements.model.BinDetails import com.basistheory.elements.model.CardMetadata import com.basistheory.elements.model.InputType -import com.basistheory.elements.service.ApiClientProvider import com.basistheory.elements.service.CardBrandEnricher import com.basistheory.elements.util.BinDetailsCache import com.basistheory.elements.view.mask.ElementMask import com.basistheory.elements.view.transform.RegexReplaceElementTransform import com.basistheory.elements.view.validation.LuhnValidator -import com.basistheory.resources.enrichments.requests.EnrichmentsGetCardDetailsRequest -import com.basistheory.types.CardDetailsResponse import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.Job