From 1e35821bbf0c36aaeada313df6f4f966282677f8 Mon Sep 17 00:00:00 2001 From: Urvi Date: Thu, 25 Apr 2024 15:14:03 -0700 Subject: [PATCH] Fix unit tests --- services/horizon/internal/flags_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/horizon/internal/flags_test.go b/services/horizon/internal/flags_test.go index 3da39bc7a5..a30ea3a404 100644 --- a/services/horizon/internal/flags_test.go +++ b/services/horizon/internal/flags_test.go @@ -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, @@ -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: "+