You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: WooCommerce/WooCommerceTests/ViewRelated/Shipping Label/Create Shipping Label/Multi-package/ShippingLabelPackageItemViewModelTests.swift
+43-6Lines changed: 43 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ class ShippingLabelPackageItemViewModelTests: XCTestCase {
18
18
totalWeight:"",
19
19
products:[],
20
20
productVariations:[],
21
+
onPackageSwitch:{ _ in},
21
22
formatter: currencyFormatter)
22
23
23
24
// Then
@@ -58,6 +59,7 @@ class ShippingLabelPackageItemViewModelTests: XCTestCase {
58
59
totalWeight:"",
59
60
products:[product1, product2, product3],
60
61
productVariations:[variation],
62
+
onPackageSwitch:{ _ in},
61
63
formatter: currencyFormatter,
62
64
weightUnit:"kg")
63
65
@@ -86,18 +88,52 @@ class ShippingLabelPackageItemViewModelTests: XCTestCase {
Copy file name to clipboardExpand all lines: WooCommerce/WooCommerceTests/ViewRelated/Shipping Label/Create Shipping Label/ShippingLabelPackageDetailsViewModelTests.swift
+18-60Lines changed: 18 additions & 60 deletions
Original file line number
Diff line number
Diff line change
@@ -111,15 +111,15 @@ final class ShippingLabelPackageDetailsViewModelTests: XCTestCase {
0 commit comments