Skip to content

Commit

Permalink
remove unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
miiu96 committed Oct 11, 2023
1 parent 65fd3d9 commit 57a0698
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions process/elasticproc/logsevents/esdtIssueProcessor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,23 +83,3 @@ func TestIssueESDTProcessor_TransferOwnership(t *testing.T) {
Properties: &data.TokenProperties{},
}, res.tokenInfo)
}

func TestIssueESDTProcessor_EventWithShardID0ShouldBeIgnored(t *testing.T) {
t.Parallel()

esdtIssueProc := newESDTIssueProcessor(&mock.PubkeyConverterMock{})

event := &transaction.Event{
Address: []byte("addr"),
Identifier: []byte(transferOwnershipFunc),
Topics: [][]byte{[]byte("MYTOKEN-abcd"), []byte("my-token"), []byte("MYTOKEN"), []byte(core.NonFungibleESDT), []byte("newOwner")},
}
args := &argsProcessEvent{
timestamp: 1234,
event: event,
selfShardID: 0,
}

res := esdtIssueProc.processEvent(args)
require.False(t, res.processed)
}

0 comments on commit 57a0698

Please sign in to comment.