Skip to content

Commit

Permalink
fix(rpc): actually use RPC in CLI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal committed Sep 8, 2023
1 parent dce1986 commit 3fd0f0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/soroban-rpc/internal/test/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ func runCLICommand(cmd string) (string, error) {
args = append(baseCmdArgs, args...)
c := exec.Command("cargo", args...)
c.Env = append(os.Environ(),
fmt.Sprintf("RPC_URL=http://localhost:%d/", sorobanRPCPort),
fmt.Sprintf("NETWORK_PASPRHASE=%s", StandaloneNetworkPassphrase),
fmt.Sprintf("SOROBAN_RPC_URL=http://localhost:%d/", sorobanRPCPort),
fmt.Sprintf("SOROBAN_NETWORK_PASPRHASE=%s", StandaloneNetworkPassphrase),
)
bin, err := c.CombinedOutput()
return string(bin), err
Expand Down

0 comments on commit 3fd0f0e

Please sign in to comment.