File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Classes/ViewRelated/JetpackSetup
WooCommerceTests/ViewRelated/JetpackSetup Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -484,11 +484,13 @@ private extension JetpackSetupCoordinator {
484484}
485485
486486// MARK: - Subtypes
487- private extension JetpackSetupCoordinator {
487+ extension JetpackSetupCoordinator {
488488 enum JetpackCheckError : Int , Error {
489489 case missingPermission = 403
490490 }
491+ }
491492
493+ private extension JetpackSetupCoordinator {
492494 enum Constants {
493495 static let magicLinkUrlHostname = " magic-login "
494496 }
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ final class JetpackSetupCoordinatorTests: XCTestCase {
106106 case let . loadWPComAccount( _, onCompletion) :
107107 onCompletion ( expectedAccount)
108108 case let . fetchJetpackConnectionData( completion) :
109- completion ( . success ( JetpackConnectionData . fake ( ) ) )
109+ completion ( . failure ( JetpackSetupCoordinator . JetpackCheckError . missingPermission ) )
110110 default :
111111 break
112112 }
You can’t perform that action at this time.
0 commit comments