Skip to content

Commit 04c6e47

Browse files
committed
Fix swiftlint issue
1 parent df3cf3f commit 04c6e47

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

WooCommerce/WooCommerceTests/ViewRelated/Orders/Order Details/Shipping Labels/AggregatedShippingLabelOrderItemsTests.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,12 @@ final class AggregatedShippingLabelOrderItemsTests: XCTestCase {
3737
let shippingLabel = MockShippingLabel.emptyLabel().copy(productIDs: [2020, 3013, 3013, 3013],
3838
productNames: ["Woo", "PW", "PW", "PW"])
3939
let imageURL1 = URL(string: "woocommerce.com/woocommerce.jpeg")!
40-
let product1 = Product.fake().copy(productID: 2020, name: "Whoa", price: "25.9", images: [createProductImage(src: imageURL1.absoluteString)]).toOrderDetailsProduct()
41-
let product2 = Product.fake().copy(productID: 3013, name: "Password", price: "25.9").toOrderDetailsProduct()
40+
let product1 = Product.fake()
41+
.copy(productID: 2020, name: "Whoa", price: "25.9", images: [createProductImage(src: imageURL1.absoluteString)])
42+
.toOrderDetailsProduct()
43+
let product2 = Product.fake()
44+
.copy(productID: 3013, name: "Password", price: "25.9")
45+
.toOrderDetailsProduct()
4246
let orderItem1 = MockOrderItem.sampleItem(itemID: 1, name: "Woooo", productID: 2020, price: 59.2, sku: "woo")
4347
let aggregatedOrderItems = AggregatedShippingLabelOrderItems(shippingLabels: [shippingLabel],
4448
orderItems: [orderItem1],

0 commit comments

Comments
 (0)