Skip to content

Commit

Permalink
fix: also unset STORAGE_EMULATOR_HOST after test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanedey committed Oct 3, 2023
1 parent f10290f commit b515b9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func TestNewClientEmulatorHostEnvVar(t *testing.T) {
emulatorHost := "localhost:9099"
os.Setenv("FIREBASE_STORAGE_EMULATOR_HOST", emulatorHost)
defer os.Unsetenv("FIREBASE_STORAGE_EMULATOR_HOST")
defer os.Unsetenv("STORAGE_EMULATOR_HOST")

_, err := NewClient(context.Background(), &internal.StorageConfig{
Opts: opts,
Expand Down

0 comments on commit b515b9e

Please sign in to comment.