diff --git a/test/BaseTest.t.sol b/test/BaseTest.t.sol index 45e5dcc..16d87e2 100644 --- a/test/BaseTest.t.sol +++ b/test/BaseTest.t.sol @@ -69,6 +69,4 @@ contract BaseTest is Test { sharesFactory.transferOwnership(owner); aaveYieldAggregator.transferOwnership(owner); } - - function testSuccess() public { } } diff --git a/test/unit/SharesFactory.t.sol b/test/unit/SharesFactory.t.sol index 6cbde9c..f5f1d32 100644 --- a/test/unit/SharesFactory.t.sol +++ b/test/unit/SharesFactory.t.sol @@ -47,7 +47,7 @@ contract SharesFactoryTests is BaseTest { assertEq(curveType, defaultCurveType); vm.expectRevert(bytes("Invalid curveType")); - sharesFactory.mintShare(999); + sharesFactory.mintShare(99); } function test_minAndBuyShare() public { @@ -462,10 +462,6 @@ contract SharesFactoryTests is BaseTest { uint256 yieldBalance = yieldAggregator.yieldBalanceOf(address(sharesFactory)); uint256 yieldMaxClaimable = yieldAggregator.yieldMaxClaimable(depositedETHAmount); uint256 yieldBuffer = 1e12; - // uint256 yieldBuffer = yieldAggregator.yieldBuffer(); - console.log("depositedETHAmount: ", depositedETHAmount); - console.log("yieldBalance: ", yieldBalance); - console.log("yieldMaxClaimable: ", yieldMaxClaimable); return (depositedETHAmount, yieldBalance, yieldMaxClaimable, yieldBuffer); } }