Skip to content

Commit

Permalink
fix: remove hardcoded values in test
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnu-deepsource committed Feb 5, 2024
1 parent e175660 commit 9352f32
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions command/report/tests/report_workflow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ func TestReportKeyValueWorkflow(t *testing.T) {

// Set env variables
cmd.Env = os.Environ()
cmd.Env = append(cmd.Env, "GIT_COMMIT_SHA="+"b9e678d8dcb43fa1340e8a0c579b2c642280dc27")
cmd.Env = append(cmd.Env, "DEEPSOURCE_DSN="+dsn)
cmd.Dir = os.Getenv("CODE_PATH")

Expand Down Expand Up @@ -204,7 +203,6 @@ func TestReportKeyValueFileWorkflow(t *testing.T) {

// Set env variables
cmd.Env = os.Environ()
cmd.Env = append(cmd.Env, "GIT_COMMIT_SHA="+"b9e678d8dcb43fa1340e8a0c579b2c642280dc27")
cmd.Env = append(cmd.Env, "DEEPSOURCE_DSN="+dsn)
cmd.Dir = os.Getenv("CODE_PATH")

Expand Down Expand Up @@ -248,7 +246,6 @@ func TestReportAnalyzerTypeWorkflow(t *testing.T) {

// Set env variables
cmd.Env = os.Environ()
cmd.Env = append(cmd.Env, "GIT_COMMIT_SHA="+"b9e678d8dcb43fa1340e8a0c579b2c642280dc27")
cmd.Env = append(cmd.Env, "DEEPSOURCE_DSN="+dsn)
cmd.Dir = os.Getenv("CODE_PATH")

Expand Down

0 comments on commit 9352f32

Please sign in to comment.