-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add additional Foundry test coverage #322
Add additional Foundry test coverage #322
Conversation
* fix: remove discount lock period from GhoDebtToken * test: Update tests for new rebalance behaviour
* fix: Remove Facilitator struct from addFacilitator function * test: Adjusts test for new addFacilitator parameters * fix: Make facilitatorLabel calldata-like parameter
* setup modifier * setup gho manager and tests * remove atoken changes * use interfaces * adds test for ghomanager as pooladmin
…ebalance discount tests and onbehalf borrow
|
feat: add combined coverage from hardhat/foundry
Refactor initial foundry tests
emptyStrategy = new EmptyDiscountRateStrategy(); | ||
} | ||
|
||
function testFuzzConstructor(uint256 debtBalance, uint256 discountTokenBalance) public { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be named differently right? Maybe testFuzzRateAlwaysZero
or something
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed in subsequent commit
import './TestGhoBase.t.sol'; | ||
|
||
contract TestGhoInterestRateStrategy is TestGhoBase { | ||
function testFuzzConstructor( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here with the naming
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed in subsequent commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No further comments here!
Great stuff @cedephrase @Zer0dot !! |
Will close #319 once complete.