Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Update x/authz test
  • Loading branch information
0Tech authored Aug 16, 2023
1 parent 2afab69 commit 39cf2f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/authz/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ func (s *TestSuite) TestDispatchedEvents() {

events := s.ctx.EventManager().Events()

// get last 5 events (events that occur *after* the grant)
events = events[len(events)-4:]
// get last 3 events (events that occur *after* the grant)
events = events[len(events)-3:]

requiredEvents := map[string]bool{
"coin_spent": false,
Expand Down

0 comments on commit 39cf2f8

Please sign in to comment.