File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
WooCommerce/WooCommerceTests/ViewModels/CardPresentPayments Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ final class CollectOrderPaymentUseCaseTests: XCTestCase {
4747 XCTAssertFalse ( analyticsProvider. receivedEvents. contains ( " card_present_collect_payment_tapped " ) )
4848 }
4949
50- func test_collectPayment_collectPaymentTapped_event ( ) throws {
50+ func test_collectPayment_tracks_collectPaymentTapped_event ( ) throws {
5151 // When
5252 mockCardPresentPaymentActions ( )
5353 useCase. collectPayment ( backButtonTitle: " " , onCollect: { _ in } , onCompleted: { } )
@@ -60,7 +60,7 @@ final class CollectOrderPaymentUseCaseTests: XCTestCase {
6060 XCTAssertEqual ( eventProperties [ " plugin_slug " ] as? String , Mocks . paymentGatewayAccount)
6161 }
6262
63- func test_cancelling_readerIsReady_tracks_collectPaymentCanceled_event ( ) throws {
63+ func test_cancelling_readerIsReady_alert_tracks_collectPaymentCanceled_event ( ) throws {
6464 // When
6565 mockCardPresentPaymentActions ( )
6666 useCase. collectPayment ( backButtonTitle: " " , onCollect: { _ in } , onCompleted: { } )
@@ -74,7 +74,7 @@ final class CollectOrderPaymentUseCaseTests: XCTestCase {
7474 XCTAssertEqual ( eventProperties [ " plugin_slug " ] as? String , Mocks . paymentGatewayAccount)
7575 }
7676
77- func test_cancelling_readerIsReady_dispatches_cancel_action ( ) throws {
77+ func test_cancelling_readerIsReady_alert_dispatches_cancel_action ( ) throws {
7878 // Given
7979 assertEmpty ( stores. receivedActions)
8080
You can’t perform that action at this time.
0 commit comments