Skip to content

Commit

Permalink
fix flakey test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdavinchee committed Jan 25, 2024
1 parent 54743f4 commit 1d2efde
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,10 @@ contract GeneralDistributionAgreementV1IntegrationTest is FoundrySuperfluidTeste
vm.stopPrank();
}

function testRevertIfNotAdminOrGDAUpdatesMemberUnitsViaPool(address caller) public {
vm.assume(caller != alice);
vm.startPrank(caller);
function testRevertIfNotAdminOrGDAUpdatesMemberUnitsViaPool() public {
vm.startPrank(bob);
vm.expectRevert(ISuperfluidPool.SUPERFLUID_POOL_NOT_POOL_ADMIN_OR_GDA.selector);
freePool.updateMemberUnits(caller, 69);
freePool.updateMemberUnits(bob, 69);
vm.stopPrank();
}

Expand Down

0 comments on commit 1d2efde

Please sign in to comment.