File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
WooCommerceTests/POS/Presentation Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ struct POSStockFormatter {
25
25
comment: " Label to be displayed in the product's card when out of stock " )
26
26
27
27
static let inStockWithQuantity = NSLocalizedString (
28
- " pos.stockStatusLabel.outofstock " ,
28
+ " pos.stockStatusLabel.inStockWithQuantity " ,
29
29
value: " %1$@ in stock " ,
30
30
comment: " Label to be displayed in the product's card when there's stock of a given product " )
31
31
}
Original file line number Diff line number Diff line change @@ -98,9 +98,7 @@ struct POSStockFormatterTests {
98
98
#expect( stockLabel == " Out of stock " )
99
99
}
100
100
101
- // Disabled temporarily due to failure to code freeze 22.5
102
- // Context: p1748609128918879?thread_ts=1748592083.887729&cid=CC7L49W13-slack-CC7L49W13
103
- @Test ( . disabled( ) ) func test_when_managestock_enabled_and_stockQuantity_is_positive_then_returns_number_in_stock_stockLabel( ) async throws {
101
+ @Test func test_when_managestock_enabled_and_stockQuantity_is_positive_then_returns_number_in_stock_stockLabel( ) async throws {
104
102
// Given
105
103
let manageStockEnabled : Bool = true
106
104
let stockQuantity : Decimal = 5
You can’t perform that action at this time.
0 commit comments