Skip to content

Commit 1fc17a7

Browse files
committed
Revert unrelated provider_test.go changes to keep PR focused
Remove the OPENAI_ORGANIZATION_ID optional changes from provider_test.go as they are not related to the retry logic fix for issue #35. This change should be addressed in a separate PR if needed. Addresses feedback from @Fodoj in PR #37
1 parent 73a6511 commit 1fc17a7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

internal/provider/provider_test.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,8 @@ func testAccPreCheck(t *testing.T) {
2929
if v := os.Getenv("OPENAI_API_KEY"); v == "" {
3030
t.Fatal("OPENAI_API_KEY must be set for acceptance tests")
3131
}
32-
// OPENAI_ORGANIZATION_ID is optional - some users only have personal accounts
33-
if v := os.Getenv("OPENAI_ORGANIZATION_ID"); v != "" {
34-
t.Logf("Using organization ID: %s", v)
35-
} else {
36-
t.Log("No organization ID set - using personal account")
32+
if v := os.Getenv("OPENAI_ORGANIZATION_ID"); v == "" {
33+
t.Fatal("OPENAI_ORGANIZATION_ID must be set for acceptance tests")
3734
}
3835
}
3936

0 commit comments

Comments
 (0)