diff --git a/Coder Desktop/Coder DesktopTests/Util.swift b/Coder Desktop/Coder DesktopTests/Util.swift
index c44c8607..bb0ff99a 100644
--- a/Coder Desktop/Coder DesktopTests/Util.swift	
+++ b/Coder Desktop/Coder DesktopTests/Util.swift	
@@ -1,5 +1,6 @@
 @testable import Coder_Desktop
 import Combine
+import NetworkExtension
 import SwiftUI
 import ViewInspector
 
@@ -20,6 +21,8 @@ class MockVPNService: VPNService, ObservableObject {
         state = .disconnecting
         await onStop?()
     }
+
+    func configureTunnelProviderProtocol(proto _: NETunnelProviderProtocol?) {}
 }
 
 class MockSession: Session {
@@ -41,6 +44,10 @@ class MockSession: Session {
         sessionToken = nil
         baseAccessURL = nil
     }
+
+    func tunnelProviderProtocol() -> NETunnelProviderProtocol? {
+        return nil
+    }
 }
 
 struct MockClient: Client {
diff --git a/Makefile b/Makefile
index 5f56b6e8..b746639d 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ fmt:
 		$(FMTFLAGS) .
 
 test:
-	xcodebuild test \
+	set -o pipefail && xcodebuild test \
 		-project $(PROJECT) \
 		-scheme $(SCHEME) \
 		-testPlan $(SCHEME) \