File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Coder Desktop/Coder DesktopTests Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 11@testable import Coder_Desktop
22import Combine
3+ import NetworkExtension
34import SwiftUI
45import ViewInspector
56
@@ -20,6 +21,8 @@ class MockVPNService: VPNService, ObservableObject {
2021 state = . disconnecting
2122 await onStop ? ( )
2223 }
24+
25+ func configureTunnelProviderProtocol( proto _: NETunnelProviderProtocol ? ) { }
2326}
2427
2528class MockSession : Session {
@@ -41,6 +44,10 @@ class MockSession: Session {
4144 sessionToken = nil
4245 baseAccessURL = nil
4346 }
47+
48+ func tunnelProviderProtocol( ) -> NETunnelProviderProtocol ? {
49+ return nil
50+ }
4451}
4552
4653struct MockClient : Client {
Original file line number Diff line number Diff line change 1515 $(FMTFLAGS ) .
1616
1717test :
18- xcodebuild test \
18+ set -o pipefail && xcodebuild test \
1919 -project $(PROJECT ) \
2020 -scheme $(SCHEME ) \
2121 -testPlan $(SCHEME ) \
You can’t perform that action at this time.
0 commit comments