Skip to content

Commit

Permalink
Fix Sol integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
enoldev committed Dec 6, 2024
1 parent 048425f commit eee6186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sol-anchor/tests/integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func runTest(generatorName string) error {

// Set the command to execute
cmd := exec.Command("substreams", "init", "--state-file", fmt.Sprintf("%s.json", generatorName))
cmd.Env = append(os.Environ(), "SUBSTREAMS_CODEGEN_ENDPOINT=https://localhost:9000")
cmd.Env = append(os.Environ(), "SUBSTREAMS_CODEGEN_ENDPOINT=http://localhost:9000")
cmd.Dir = tempDir

// Run the command and capture the output
Expand All @@ -63,7 +63,7 @@ func runTest(generatorName string) error {

// Execute build
cmd1 := exec.Command("substreams", "build")
cmd.Dir = tempDir
cmd1.Dir = tempDir

output1, err := cmd1.CombinedOutput()
if err != nil {
Expand Down

0 comments on commit eee6186

Please sign in to comment.