diff --git a/e2e/tests/payment_test.go b/e2e/tests/payment_test.go index 157bc6074..358abc79e 100644 --- a/e2e/tests/payment_test.go +++ b/e2e/tests/payment_test.go @@ -2291,11 +2291,15 @@ func (s *PaymentTestSuite) TestDeposit_FrozenAccount_NetflowIsZero() { s.Require().True(streamRecordsAfter.User.SettleTimestamp == 0) // create bucket with quota again - _ = s.createBucket(sp, gvg, user, 100) + bucketName = s.createBucket(sp, gvg, user, 100) streamRecordsAfter = s.getStreamRecords(streamAddresses) s.Require().True(streamRecordsAfter.User.StaticBalance.LT(sdk.NewInt(1e18))) s.Require().True(streamRecordsAfter.User.BufferBalance.GT(sdk.NewInt(0))) s.Require().True(streamRecordsAfter.User.SettleTimestamp > 0) + + // delete bucket + err = s.deleteBucket(user, bucketName) + s.Require().Error(err) } func TestPaymentTestSuite(t *testing.T) {