Skip to content

Commit 32e1576

Browse files
committed
Update client_test.go
1 parent f8c45a6 commit 32e1576

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

client_test.go

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,8 @@ func TestNewClient(t *testing.T) {
3535
}
3636

3737
func TestNewClientFromEnv(t *testing.T) {
38-
// Note: This test would need environment variables set
39-
// For now, just test that it doesn't panic
40-
defer func() {
41-
if r := recover(); r != nil {
42-
// Expected to panic if env vars are not set
43-
}
44-
}()
45-
46-
// This will panic if env vars are not set, which is expected
47-
// client := NewClientFromEnv()
38+
// Skip this test in CI as environment variables are not set
39+
t.Skip("Skipping NewClientFromEnv test - requires environment variables")
4840
}
4941

5042
func TestMakeRequest(t *testing.T) {

0 commit comments

Comments
 (0)