Skip to content

Commit b13f7c9

Browse files
committed
Remove unused helper methods
1 parent 0af05f8 commit b13f7c9

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

WooCommerce/WooCommerceTests/ViewRelated/Orders/Order Creation/AddProductVariationToOrderViewModelTests.swift

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -151,20 +151,6 @@ class AddProductVariationToOrderViewModelTests: XCTestCase {
151151

152152
// MARK: - Utils
153153
private extension AddProductVariationToOrderViewModelTests {
154-
/// Insert a `Product` into storage
155-
func insert(_ readOnlyProduct: Yosemite.Product) {
156-
let product = storage.insertNewObject(ofType: StorageProduct.self)
157-
product.update(with: readOnlyProduct)
158-
}
159-
160-
/// Insert an array of `Product`s into storage
161-
func insert(_ readOnlyProducts: [Yosemite.Product]) {
162-
for readOnlyProduct in readOnlyProducts {
163-
let product = storage.insertNewObject(ofType: StorageProduct.self)
164-
product.update(with: readOnlyProduct)
165-
}
166-
}
167-
168154
/// Insert a `ProductVariation` into storage
169155
func insert(_ readOnlyProduct: Yosemite.ProductVariation) {
170156
let product = storage.insertNewObject(ofType: StorageProductVariation.self)

0 commit comments

Comments
 (0)