Skip to content

Commit

Permalink
test: fix proposal fuzz test
Browse files Browse the repository at this point in the history
  • Loading branch information
ashhanai committed Apr 14, 2024
1 parent 0d01882 commit 9baabd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/PWNSimpleLoanProposal.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ abstract contract PWNSimpleLoanProposal_AcceptProposal_Test is PWNSimpleLoanProp

function testFuzz_shouldFail_whenCallerIsNotAllowedAcceptor(address caller) external {
address allowedAcceptor = makeAddr("allowedAcceptor");
vm.assume(caller != allowedAcceptor);
vm.assume(caller != allowedAcceptor && caller != proposer);
params.base.allowedAcceptor = allowedAcceptor;
params.acceptor = caller;
params.signature = _sign(proposerPK, _getProposalHashWith());
Expand Down

0 comments on commit 9baabd6

Please sign in to comment.