Skip to content

Commit

Permalink
remove the test mock setup for inserting account in ledger 1
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikiyer56 committed Nov 5, 2024
1 parent 17b6280 commit bec2299
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions services/horizon/internal/ingest/processor_runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,7 @@ func TestProcessorRunnerRunHistoryArchiveIngestionHistoryArchive(t *testing.T) {
defer mock.AssertExpectationsForObjects(t, batchBuilders...)

assert.IsType(t, &history.MockAccountSignersBatchInsertBuilder{}, batchBuilders[0])
//batchBuilders[0].(*history.MockAccountSignersBatchInsertBuilder).On("Add", history.AccountSigner{
// Account: "GAAZI4TCR3TY5OJHCTJC2A4QSY6CJWJH5IAJTGKIN2ER7LBNVKOCCWN7",
// Signer: "GAAZI4TCR3TY5OJHCTJC2A4QSY6CJWJH5IAJTGKIN2ER7LBNVKOCCWN7",
// Weight: 1,
//}).Return(nil).Once()

assert.IsType(t, &history.MockAccountsBatchInsertBuilder{}, batchBuilders[1])
//batchBuilders[1].(*history.MockAccountsBatchInsertBuilder).On("Add", history.AccountEntry{
// LastModifiedLedger: 1,
// AccountID: "GAAZI4TCR3TY5OJHCTJC2A4QSY6CJWJH5IAJTGKIN2ER7LBNVKOCCWN7",
// Balance: int64(1000000000000000000),
// SequenceNumber: 0,
// MasterWeight: 1,
//}).Return(nil).Once()

q.MockQAssetStats.On("InsertAssetStats", ctx, []history.ExpAssetStat{}, 100000).
Return(nil)
Expand Down

0 comments on commit bec2299

Please sign in to comment.