Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tillh-stripe committed Aug 28, 2023
1 parent 993908d commit 5502f9b
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package com.stripe.android.lpm

import androidx.test.ext.junit.runners.AndroidJUnit4
import com.stripe.android.BaseLpmTest
import org.junit.Test
import org.junit.runner.RunWith

@RunWith(AndroidJUnit4::class)
internal class TestFpx : BaseLpmTest() {
private val fpx = newUser.copy(
paymentMethod = lpmRepository.fromCode("fpx")!!,
)

@Test
fun testEps() {
testDriver.confirmNewOrGuestComplete(
testParameters = fpx,
)
}

@Test
fun testEpsInCustomFlow() {
testDriver.confirmCustom(
testParameters = fpx,
)
}
}

0 comments on commit 5502f9b

Please sign in to comment.