File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
WooCommerce/WooCommerceTests/POS/Presentation Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,9 @@ struct POSItemActionHandlerTests {
40
40
collectOrderPaymentAnalyticsTracker: MockPOSCollectOrderPaymentAnalyticsTracker ( ) ,
41
41
searchHistoryService: MockPOSSearchHistoryService ( ) ,
42
42
popularItemsController: MockPointOfSalePopularItemsController ( ) )
43
- let sut = StandardPOSItemActionHandler ( posModel: aggregateModel,
44
- itemListType: . coupons( search: true ) )
43
+ let sut = SearchResultItemActionHandler ( posModel: aggregateModel,
44
+ searchTerm: " " ,
45
+ itemListType: . coupons( search: true ) )
45
46
46
47
let coupon = makeCouponItem ( code: " DISCOUNT! " )
47
48
@@ -86,8 +87,9 @@ struct POSItemActionHandlerTests {
86
87
collectOrderPaymentAnalyticsTracker: MockPOSCollectOrderPaymentAnalyticsTracker ( ) ,
87
88
searchHistoryService: MockPOSSearchHistoryService ( ) ,
88
89
popularItemsController: MockPointOfSalePopularItemsController ( ) )
89
- let sut = StandardPOSItemActionHandler ( posModel: aggregateModel,
90
- itemListType: . products( search: true ) )
90
+ let sut = SearchResultItemActionHandler ( posModel: aggregateModel,
91
+ searchTerm: " " ,
92
+ itemListType: . coupons( search: true ) )
91
93
92
94
let product = makeProductItem ( )
93
95
You can’t perform that action at this time.
0 commit comments