Skip to content

Commit 561cc60

Browse files
committed
chore: fix test
1 parent 01936a9 commit 561cc60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/GelatoAaveStewardInjectorCaps.t.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ contract GelatoAaveStewardsInjectorCaps_Test is AaveStewardsInjectorCaps_Test {
5555
function _checkAndPerformAutomation() internal virtual override returns (bool) {
5656
(bool shouldRunKeeper, bytes memory encodedPerformData) = _stewardInjector.checkUpkeep('');
5757
if (shouldRunKeeper) {
58-
(bool status, ) = address(_stewardInjector).call(encodedPerformData);
59-
assertTrue(status, 'Perform Upkeep Failed');
58+
address(_stewardInjector).functionCall(encodedPerformData);
6059
}
6160
return shouldRunKeeper;
6261
}

0 commit comments

Comments
 (0)