diff --git a/src/apps/chifra/internal/list/list_integration_test.go b/src/apps/chifra/internal/list/list_integration_test.go index e82dfbb680..02e1421018 100644 --- a/src/apps/chifra/internal/list/list_integration_test.go +++ b/src/apps/chifra/internal/list/list_integration_test.go @@ -13,6 +13,7 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/internal/globals" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/base" + "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/config" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/file" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/monitor" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/tslib" @@ -20,6 +21,7 @@ import ( ) func Test_HandleFreshenMonitors(t *testing.T) { + _ = config.GetRootConfig() tslib.EstablishTsFile(utils.GetTestChain(), base.GetTestPublisher()) opts := globals.GlobalOptions{} opts.Chain = "mainnet" diff --git a/src/apps/chifra/pkg/tslib/tslib_integration_test.go b/src/apps/chifra/pkg/tslib/tslib_integration_test.go index cbb2fc9112..06eafae252 100644 --- a/src/apps/chifra/pkg/tslib/tslib_integration_test.go +++ b/src/apps/chifra/pkg/tslib/tslib_integration_test.go @@ -11,6 +11,7 @@ import ( "testing" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/base" + "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/config" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/utils" ) @@ -27,6 +28,7 @@ func TestLoadTimestampsPass(t *testing.T) { {name: "Block 1 Mil", bn: 1000000, ts: 1455404053, date: "2016-02-13 22:54:13"}, } + _ = config.GetRootConfig() EstablishTsFile(utils.GetTestChain(), base.GetTestPublisher()) for _, e := range expected { bn, err := FromTsToBn(utils.GetTestChain(), e.ts) diff --git a/src/apps/chifra/pkg/validate/block_integration_test.go b/src/apps/chifra/pkg/validate/block_integration_test.go index c2f021dcef..e322e3b797 100644 --- a/src/apps/chifra/pkg/validate/block_integration_test.go +++ b/src/apps/chifra/pkg/validate/block_integration_test.go @@ -10,12 +10,14 @@ import ( "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/base" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/colors" + "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/config" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/identifiers" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/tslib" "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/utils" ) func Test_BlockRanges(t *testing.T) { + _ = config.GetRootConfig() tslib.EstablishTsFile(utils.GetTestChain(), base.GetTestPublisher()) for _, item := range testBlocks { if !item.enabled {