test: isolate explicit provider routing

This commit is contained in:
Haitao Pan 2026-06-01 11:31:22 +08:00
parent 4e0751d7b1
commit 6ba3b31cd3

View File

@ -1106,7 +1106,7 @@ func TestHandleRPCSessionStartSucceedsWithExplicitProvider(t *testing.T) {
t.Setenv("BRIDGE_AUTH_TOKEN", "bridge-test-token")
t.Setenv("BRIDGE_CONFIG_PATH", "../../example/config.yaml")
t.Setenv("BRIDGE_CONFIG_PATH", filepath.Join(t.TempDir(), "missing-config.yaml"))
server := NewServer()
setTestBridgeProvider(server, syncedProvider{
ProviderID: "opencode",