Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
reset
  • Loading branch information
toteki committed Feb 15, 2023
commit 2b6c162d6d57a2a608956b8eb95571cb55e881f4
4 changes: 4 additions & 0 deletions x/leverage/keeper/outage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ func (s *IntegrationTestSuite) TestBorrowedPriceOutage() {
}
_, err = srv.Repay(ctx, msg12)
require.NoError(err, "repay atom")

s.mockOracle.Reset()
}

// TestCollateralPriceOutage tests price outage scenarios where a collateral token
Expand Down Expand Up @@ -237,6 +239,8 @@ func (s *IntegrationTestSuite) TestCollateralPriceOutage() {
}
_, err = srv.Repay(ctx, msg12)
require.NoError(err, "repay atom")

s.mockOracle.Reset()
}

// TODO: Test complex (3-asset) scenarios