Skip to content

Commit

Permalink
fix some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amk-stripe committed Apr 12, 2024
1 parent 41d5667 commit f0915b9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ class CardAccountRangeServiceTest {
@Test
fun `test the card metadata service is always called if CBC eligible`() = runTest {
ACCOUNTS.forEach {
testIfRemoteCalled(isCbcEligible = true, it.binRange.low, expectedRemoteCall = true)
testIfRemoteCalled(isCbcEligible = true, it.binRange.high, expectedRemoteCall = true)
}
testIfRemoteCalled(isCbcEligible = true, it.binRange.low, expectedRemoteCall = true)
testIfRemoteCalled(isCbcEligible = true, it.binRange.high, expectedRemoteCall = true)
}
}

@SuppressWarnings("EmptyFunctionBlock")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,16 +214,16 @@ internal class CardNumberControllerTest {
icon = CardBrand.Unknown.icon
),
items = listOf(
TextFieldIcon.Dropdown.Item(
id = CardBrand.CartesBancaires.code,
label = resolvableString("Cartes Bancaires"),
icon = CardBrand.CartesBancaires.icon
),
TextFieldIcon.Dropdown.Item(
id = CardBrand.Visa.code,
label = resolvableString("Visa"),
icon = CardBrand.Visa.icon
),
TextFieldIcon.Dropdown.Item(
id = CardBrand.CartesBancaires.code,
label = resolvableString("Cartes Bancaires"),
icon = CardBrand.CartesBancaires.icon
),
),
hide = false
)
Expand Down Expand Up @@ -254,16 +254,16 @@ internal class CardNumberControllerTest {
icon = CardBrand.CartesBancaires.icon
),
items = listOf(
TextFieldIcon.Dropdown.Item(
id = CardBrand.CartesBancaires.code,
label = resolvableString("Cartes Bancaires"),
icon = CardBrand.CartesBancaires.icon
),
TextFieldIcon.Dropdown.Item(
id = CardBrand.Visa.code,
label = resolvableString("Visa"),
icon = CardBrand.Visa.icon
),
TextFieldIcon.Dropdown.Item(
id = CardBrand.CartesBancaires.code,
label = resolvableString("Cartes Bancaires"),
icon = CardBrand.CartesBancaires.icon
),
),
hide = false
)
Expand Down Expand Up @@ -301,16 +301,16 @@ internal class CardNumberControllerTest {
icon = CardBrand.CartesBancaires.icon
),
items = listOf(
TextFieldIcon.Dropdown.Item(
id = CardBrand.CartesBancaires.code,
label = resolvableString("Cartes Bancaires"),
icon = CardBrand.CartesBancaires.icon
),
TextFieldIcon.Dropdown.Item(
id = CardBrand.Visa.code,
label = resolvableString("Visa"),
icon = CardBrand.Visa.icon
),
TextFieldIcon.Dropdown.Item(
id = CardBrand.CartesBancaires.code,
label = resolvableString("Cartes Bancaires"),
icon = CardBrand.CartesBancaires.icon
),
),
hide = false
)
Expand Down Expand Up @@ -350,16 +350,16 @@ internal class CardNumberControllerTest {
icon = CardBrand.CartesBancaires.icon
),
items = listOf(
TextFieldIcon.Dropdown.Item(
id = CardBrand.CartesBancaires.code,
label = resolvableString("Cartes Bancaires"),
icon = CardBrand.CartesBancaires.icon
),
TextFieldIcon.Dropdown.Item(
id = CardBrand.Visa.code,
label = resolvableString("Visa"),
icon = CardBrand.Visa.icon
),
TextFieldIcon.Dropdown.Item(
id = CardBrand.CartesBancaires.code,
label = resolvableString("Cartes Bancaires"),
icon = CardBrand.CartesBancaires.icon
),
),
hide = false
)
Expand Down

0 comments on commit f0915b9

Please sign in to comment.