Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
urvisavla committed Jul 10, 2024
1 parent 4908a1d commit 7ecb0a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions services/horizon/cmd/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package cmd
import (
"testing"

"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"

horizon "github.com/stellar/go/services/horizon/internal"
"github.com/stellar/go/services/horizon/internal/db2/history"
"github.com/stellar/go/services/horizon/internal/ingest"
"github.com/stellar/go/support/db/dbtest"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
)

func TestDBCommandsTestSuite(t *testing.T) {
Expand Down Expand Up @@ -155,6 +156,7 @@ func (s *DBCommandsTestSuite) TestDbReingestAndFillGapsCmds() {
RootCmd.SetArgs(append([]string{
"--db-url", s.dsn,
"--network", "testnet",
"--stellar-core-binary-path", "/test/core/bin/path",
}, args...))

if tt.expectError {
Expand Down

0 comments on commit 7ecb0a4

Please sign in to comment.