Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit b892645

Browse files
switched new tests to debuggingOnly
1 parent 17abbb2 commit b892645

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

contracts/test/PermissionedLiquidationsMarketTest.t.sol

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ contract PermissionedLiquidationsMarketTest is MarketsTest {
4848
ap.setAddress("PoolLens", address(lens));
4949
}
5050

51-
function testLiquidateNoThreshold() public forkAtBlock(MODE_MAINNET, 10455052) {
51+
function testLiquidateNoThreshold() public debuggingOnly forkAtBlock(MODE_MAINNET, 10455052) {
5252
_upgradeMarket(wethMarket);
5353
_upgradeMarket(usdtMarket);
5454

@@ -65,7 +65,7 @@ contract PermissionedLiquidationsMarketTest is MarketsTest {
6565
vm.stopPrank();
6666
}
6767

68-
function testLiquidateThresholdActive() public forkAtBlock(MODE_MAINNET, 10455052) {
68+
function testLiquidateThresholdActive() public debuggingOnly forkAtBlock(MODE_MAINNET, 10455052) {
6969
vm.prank(uniV3liquidator.owner());
7070
uniV3liquidator.setHealthFactorThreshold(.98 * 1e18);
7171

@@ -85,7 +85,7 @@ contract PermissionedLiquidationsMarketTest is MarketsTest {
8585
vm.stopPrank();
8686
}
8787

88-
function testLiquidateHealthFactorLowerThanThreshold() public forkAtBlock(MODE_MAINNET, 10455052) {
88+
function testLiquidateHealthFactorLowerThanThreshold() public debuggingOnly forkAtBlock(MODE_MAINNET, 10455052) {
8989
vm.prank(uniV3liquidator.owner());
9090
uniV3liquidator.setHealthFactorThreshold(.98 * 1e18);
9191

@@ -108,7 +108,7 @@ contract PermissionedLiquidationsMarketTest is MarketsTest {
108108
vm.stopPrank();
109109
}
110110

111-
function testLiquidateFromPythShouldRevert() public forkAtBlock(MODE_MAINNET, 10352583) {
111+
function testLiquidateFromPythShouldRevert() public debuggingOnly forkAtBlock(MODE_MAINNET, 10352583) {
112112
vm.prank(uniV3liquidator.owner());
113113
uniV3liquidator.setHealthFactorThreshold(.98 * 1e18);
114114

@@ -131,7 +131,7 @@ contract PermissionedLiquidationsMarketTest is MarketsTest {
131131
vm.stopPrank();
132132
}
133133

134-
function testLiquidateFromPyth() public forkAtBlock(MODE_MAINNET, 10352583) {
134+
function testLiquidateFromPyth() public debuggingOnly forkAtBlock(MODE_MAINNET, 10352583) {
135135
vm.prank(uniV3liquidator.owner());
136136
uniV3liquidator.setHealthFactorThreshold(.98 * 1e18);
137137

0 commit comments

Comments
 (0)