Skip to content

Commit

Permalink
e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic committed Feb 14, 2024
1 parent 2eca4ba commit b031e44
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions tests/e2e/group/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -2479,19 +2479,7 @@ func (s *E2ETestSuite) TestExecProposalsWhenMemberLeavesOrIsUpdated() {
s.Require().NoError(err)

if tc.expectLogErr {
found := false
for _, event := range execResp.Events {
for _, attr := range event.Attributes {
if attr.Value == tc.errMsg {
found = true
break
}
}
if found {
break
}
}
s.Require().True(found, "Expected to find '%s' in execResp.Events", tc.errMsg)
s.Require().True(strings.Contains(execResp.Events[len(execResp.Events)-1].String(), tc.errMsg))
}
})
}
Expand Down

0 comments on commit b031e44

Please sign in to comment.