From fd449d368e0336082034ae32ea8e3c69fb5ab557 Mon Sep 17 00:00:00 2001 From: Abdul Rabbani Date: Thu, 9 Jun 2022 13:10:51 -0400 Subject: [PATCH] Update test err --- pkg/beaconclient/systemvalidation_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/beaconclient/systemvalidation_test.go b/pkg/beaconclient/systemvalidation_test.go index d623f70..78605d7 100644 --- a/pkg/beaconclient/systemvalidation_test.go +++ b/pkg/beaconclient/systemvalidation_test.go @@ -8,7 +8,6 @@ import ( . "github.com/onsi/ginkgo/v2" //. "github.com/onsi/gomega" "github.com/vulcanize/ipld-ethcl-indexer/pkg/beaconclient" - "github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper" ) var ( @@ -57,7 +56,7 @@ var _ = Describe("Systemvalidation", Label("system"), func() { func getEnvInt(envVar string) int { val, err := strconv.Atoi(envVar) if err != nil { - loghelper.LogError(err).WithField("envVar", envVar).Fatal("Unable to turn env string to int") + return 0 } return val }