Skip to content

Commit

Permalink
Add initial getLedgerEntries test using Core
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Feb 5, 2025
1 parent 33018b6 commit a2f574a
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,18 @@ import (
)

func TestGetLedgerEntriesNotFound(t *testing.T) {
test := infrastructure.NewTest(t, nil)
t.Run("WithCore", func(t *testing.T) {
testGetLedgerEntriesNotFound(t, true)
})
t.Run("WithoutCore", func(t *testing.T) {
testGetLedgerEntriesNotFound(t, false)
})
}

func testGetLedgerEntriesNotFound(t *testing.T, useCore bool) {
test := infrastructure.NewTest(t, &infrastructure.TestConfig{
EnableCoreHTTPQueryServer: useCore,
})
client := test.GetRPCLient()

hash := xdr.Hash{0xa, 0xb}
Expand Down

0 comments on commit a2f574a

Please sign in to comment.