Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Jul 7, 2023
1 parent 98c94bb commit 00df930
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/eventindexer/repo/event_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,9 @@ func TestIntegration_Event_FirstByAddressAndEvent(t *testing.T) {
tt.event,
)
assert.Equal(t, tt.wantErr, err)
assert.Equal(t, tt.wantEventID, found.ID)
if tt.wantEventID != 0 {
assert.Equal(t, tt.wantEventID, found.ID)
}
})
}
}

0 comments on commit 00df930

Please sign in to comment.