Skip to content

Commit

Permalink
fix: unset STORAGE_EMULATOR_HOST before test as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanedey committed Oct 3, 2023
1 parent b515b9e commit 4bd2b17
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")
os.Unsetenv("STORAGE_EMULATOR_HOST")
defer os.Unsetenv("STORAGE_EMULATOR_HOST")

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

0 comments on commit 4bd2b17

Please sign in to comment.