Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
amishas157 committed Nov 26, 2024
1 parent 3b3b21e commit 8a45838
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions cmd/export_ledger_entry_changes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,70 +28,70 @@ func TestExportChanges(t *testing.T) {
Args: []string{"export_ledger_entry_changes", "-x", coreExecutablePath, "-c", coreConfigPath, "-s", "49265302", "-e", "49265350", "-o", GotTestDir(t, "all/")},
Golden: "all.golden",
WantErr: nil,
sortForComparison: true,
SortForComparison: true,
},
{
Name: "Account changes from ledger entry",
Args: []string{"export_ledger_entry_changes", "-x", coreExecutablePath, "-c", coreConfigPath, "-s", "49265302", "-e", "49265400", "-o", GotTestDir(t, "accounts/"), "--export-accounts", "true"},
Golden: "accounts.golden",
WantErr: nil,
sortForComparison: true,
SortForComparison: true,
},
{
Name: "Claimable balance from ledger entry",
Args: []string{"export_ledger_entry_changes", "-x", coreExecutablePath, "-c", coreConfigPath, "-s", "49265302", "-e", "49265400", "-o", GotTestDir(t, "claimable_balances/"), "--export-balances", "true"},
Golden: "claimable_balances.golden",
WantErr: nil,
sortForComparison: true,
SortForComparison: true,
},
{
Name: "trustlines from ledger entry",
Args: []string{"export_ledger_entry_changes", "-x", coreExecutablePath, "-c", coreConfigPath, "-s", "49265302", "-e", "49265400", "-o", GotTestDir(t, "trustlines/"), "--export-trustlines", "true"},
Golden: "trustlines.golden",
WantErr: nil,
sortForComparison: true,
SortForComparison: true,
},
{
Name: "Offers from ledger entry",
Args: []string{"export_ledger_entry_changes", "-x", coreExecutablePath, "-c", coreConfigPath, "-s", "49265302", "-e", "49265400", "-o", GotTestDir(t, "offers/"), "--export-offers", "true"},
Golden: "offers.golden",
WantErr: nil,
sortForComparison: true,
SortForComparison: true,
},
{
Name: "Pools from ledger entry",
Args: []string{"export_ledger_entry_changes", "-x", coreExecutablePath, "-c", coreConfigPath, "-s", "49265302", "-e", "49265400", "-o", GotTestDir(t, "pools/"), "--export-pools", "true"},
Golden: "pools.golden",
WantErr: nil,
sortForComparison: true,
SortForComparison: true,
},
{
Name: "Contract code from ledger entry",
Args: []string{"export_ledger_entry_changes", "-x", coreExecutablePath, "-c", coreConfigPath, "-s", "50666990", "-e", "50666999", "-o", GotTestDir(t, "contract_code/"), "--export-contract-code", "true"},
Golden: "contract_code.golden",
WantErr: nil,
sortForComparison: true,
SortForComparison: true,
},
{
Name: "Contract data from ledger entry",
Args: []string{"export_ledger_entry_changes", "-x", coreExecutablePath, "-c", coreConfigPath, "-s", "51340657", "-e", "51340757", "-o", GotTestDir(t, "contract_data/"), "--export-contract-data", "true"},
Golden: "contract_data.golden",
WantErr: nil,
sortForComparison: true,
SortForComparison: true,
},
{
Name: "Config setting from ledger entry",
Args: []string{"export_ledger_entry_changes", "-x", coreExecutablePath, "-c", coreConfigPath, "-s", "50457424", "-e", "50457440", "-o", GotTestDir(t, "config_setting/"), "--export-config-settings", "true"},
Golden: "config_setting.golden",
WantErr: nil,
sortForComparison: true,
SortForComparison: true,
},
{
Name: "ttl from ledger entry",
Args: []string{"export_ledger_entry_changes", "-x", coreExecutablePath, "-c", coreConfigPath, "-s", "50603521", "-e", "50603621", "-o", GotTestDir(t, "ttl/"), "--export-ttl", "true"},
Golden: "ttl.golden",
WantErr: nil,
sortForComparison: true,
SortForComparison: true,
},
}

Expand Down

0 comments on commit 8a45838

Please sign in to comment.