Skip to content

Commit 36efecb

Browse files
committed
Update point of sale alert view model tests
1 parent c013075 commit 36efecb

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

WooCommerce/WooCommerceTests/POS/Card Present Payments/Connection Alerts/PointOfSaleCardPresentPaymentOptionalReaderUpdateInProgressAlertViewModelTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ final class PointOfSaleCardPresentPaymentOptionalReaderUpdateInProgressAlertView
99
cancel: {})
1010

1111
XCTAssertPropertyCount(sut,
12-
expectedCount: 8,
12+
expectedCount: 7,
1313
messageHint: "Please check that the manual equatable conformance includes new properties.")
1414
}
1515

@@ -19,7 +19,7 @@ final class PointOfSaleCardPresentPaymentOptionalReaderUpdateInProgressAlertView
1919
cancel: {})
2020

2121
XCTAssertPropertyCount(sut,
22-
expectedCount: 8,
22+
expectedCount: 7,
2323
messageHint: "Please check that the manual hashable conformance includes new properties.")
2424
}
2525

WooCommerce/WooCommerceTests/POS/Card Present Payments/Connection Alerts/PointOfSaleCardPresentPaymentReaderUpdateCompletionAlertViewModelTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ final class PointOfSaleCardPresentPaymentReaderUpdateCompletionAlertViewModelTes
77
let sut = PointOfSaleCardPresentPaymentReaderUpdateCompletionAlertViewModel()
88

99
XCTAssertPropertyCount(sut,
10-
expectedCount: 3,
10+
expectedCount: 2,
1111
messageHint: "Please check that the manual hashable conformance includes new properties.")
1212
}
1313

1414
func test_manual_equatable_conformance_number_of_properties_unchanged() {
1515
let sut = PointOfSaleCardPresentPaymentReaderUpdateCompletionAlertViewModel()
1616

1717
XCTAssertPropertyCount(sut,
18-
expectedCount: 3,
18+
expectedCount: 2,
1919
messageHint: "Please check that the manual equatable conformance includes new properties.")
2020
}
2121

WooCommerce/WooCommerceTests/POS/Card Present Payments/Connection Alerts/PointOfSaleCardPresentPaymentRequiredReaderUpdateInProgressAlertViewModelTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ final class PointOfSaleCardPresentPaymentRequiredReaderUpdateInProgressAlertView
99
cancel: {})
1010

1111
XCTAssertPropertyCount(sut,
12-
expectedCount: 8,
12+
expectedCount: 7,
1313
messageHint: "Please check that the manual equatable conformance includes new properties.")
1414
}
1515

@@ -19,7 +19,7 @@ final class PointOfSaleCardPresentPaymentRequiredReaderUpdateInProgressAlertView
1919
cancel: {})
2020

2121
XCTAssertPropertyCount(sut,
22-
expectedCount: 8,
22+
expectedCount: 7,
2323
messageHint: "Please check that the manual hashable conformance includes new properties.")
2424
}
2525

0 commit comments

Comments
 (0)