We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d22684 commit 4994bc7Copy full SHA for 4994bc7
src/pkg/mcp/tools/deploy_test.go
@@ -219,6 +219,13 @@ func TestHandleDeployTool(t *testing.T) {
219
220
for _, tt := range tests {
221
t.Run(tt.name, func(t *testing.T) {
222
+ var originalOpenURLFunc = OpenURLFunc
223
+ OpenURLFunc = func(url string) error {
224
+ // Mock implementation that doesn't actually open a browser
225
+ return nil
226
+ }
227
+ defer func() { OpenURLFunc = originalOpenURLFunc }()
228
+
229
// Create mock and configure it
230
mockCLI := &MockDeployCLI{
231
CallLog: []string{},
0 commit comments