Skip to content

Commit a35cc78

Browse files
committed
Remove unused code in unit tests.
1 parent 2b7c016 commit a35cc78

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

WooCommerce/WooCommerceTests/ViewRelated/Settings/POS/POSTabEligibilityCheckerTests.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -494,11 +494,6 @@ private extension POSTabEligibilityCheckerTests {
494494
)
495495
}
496496

497-
498-
func setupPOSTabVisibility(siteID: Int64, isVisible: Bool?) {
499-
eligibilityService.cachedTabVisibility[siteID] = isVisible
500-
}
501-
502497
enum Country: String {
503498
case us = "US:CA"
504499
case ca = "CA:NS"

WooCommerce/WooCommerceTests/ViewRelated/Settings/POS/POSTabVisibilityCheckerTests.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -290,15 +290,6 @@ private extension POSTabVisibilityCheckerTests {
290290
].publisher.eraseToAnyPublisher()
291291
}
292292

293-
func createWooCommercePlugin(version: String) -> SystemPlugin {
294-
SystemPlugin.fake().copy(
295-
siteID: siteID,
296-
plugin: "woocommerce/woocommerce.php",
297-
version: version,
298-
active: true
299-
)
300-
}
301-
302293
func accountWhitelistedInBackend(_ isAllowed: Bool = false) {
303294
stores.whenReceivingAction(ofType: FeatureFlagAction.self) { action in
304295
switch action {

0 commit comments

Comments
 (0)