Skip to content

Commit

Permalink
fix: correct usage of os.Getenv for CLIENT_ID in test
Browse files Browse the repository at this point in the history
  • Loading branch information
allan committed Jan 23, 2025
1 parent 0e50805 commit eda3f90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/a_main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package test
import (
"os"
"testing"

"github.com/HiWay-Media/compress-go/compress"
)

Expand All @@ -28,7 +29,7 @@ func TestNewCompress(t *testing.T) {

func GetCompress() (compress.ICompress, error) {
apiKey := os.Getenv("API_KEY")
clientId := os.GetEnv("CLIENT_ID")
clientId := os.Getenv("CLIENT_ID")
//
c, err := compress.NewCompress(clientId, apiKey, false)
if err != nil {
Expand Down

0 comments on commit eda3f90

Please sign in to comment.