Skip to content

Commit 563cf3b

Browse files
Remove duplicate TTP Available not-tracked test in WooPosTotalsViewModelTest
1 parent 24ccee5 commit 563cf3b

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

WooCommerce/src/test/kotlin/com/woocommerce/android/ui/woopos/home/totals/WooPosTotalsViewModelTest.kt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2313,20 +2313,6 @@ class WooPosTotalsViewModelTest {
23132313
assertThat(state.isAllPaymentMethodsBottomSheetVisible).isFalse()
23142314
}
23152315

2316-
@Test
2317-
fun `given flag on and TTP Available, when ViewModel created, then reason not tracked`() = runTest {
2318-
// GIVEN
2319-
whenever(isTapToPayAvailable.isFeatureFlagEnabled()).thenReturn(true)
2320-
whenever(tapToPayAvailabilityStatus.invoke()).thenReturn(TapToPayAvailabilityStatus.Result.Available)
2321-
clearInvocations(tracker)
2322-
2323-
// WHEN
2324-
createViewModelAndSetupForSuccessfulOrderCreation()
2325-
2326-
// THEN
2327-
verify(tracker, never()).trackTapToPayNotAvailableReason(any(), any())
2328-
}
2329-
23302316
@Test
23312317
fun `given missing location permission, when TTP clicked, then permission request event is emitted`() = runTest {
23322318
// GIVEN

0 commit comments

Comments
 (0)