Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
urvisavla committed May 9, 2024
1 parent 404be9c commit 1e35821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/horizon/internal/flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func Test_createCaptiveCoreConfig(t *testing.T) {
config: Config{
NetworkPassphrase: PubnetConf.NetworkPassphrase,
HistoryArchiveURLs: PubnetConf.HistoryArchiveURLs,
CaptiveCoreConfigPath: "configs/captive-core-pubnet.cfg",
CaptiveCoreConfigPath: "../../../ingest/ledgerbackend/configs/captive-core-pubnet.cfg",
CaptiveCoreBinaryPath: "/path/to/captive-core/binary",
},
networkPassphrase: PubnetConf.NetworkPassphrase,
Expand Down Expand Up @@ -171,7 +171,7 @@ func Test_createCaptiveCoreConfig(t *testing.T) {
config: Config{
NetworkPassphrase: PubnetConf.NetworkPassphrase,
HistoryArchiveURLs: PubnetConf.HistoryArchiveURLs,
CaptiveCoreConfigPath: "configs/captive-core-testnet.cfg",
CaptiveCoreConfigPath: "../../../ingest/ledgerbackend/configs/captive-core-testnet.cfg",
CaptiveCoreBinaryPath: "/path/to/captive-core/binary",
},
errStr: fmt.Sprintf("invalid captive core toml file: invalid captive core toml: "+
Expand Down

0 comments on commit 1e35821

Please sign in to comment.