Skip to content

Commit e60c231

Browse files
committed
fix: update test to use AUTH_MODE_EXTENSION for onContractCall
1 parent f7a8a05 commit e60c231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/MockCrossContract.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ contract MockCrossContractTest is Test {
5959
}
6060

6161
function test_onContractCall_Reverts_WhenAuthModeIsNotChannel() public {
62-
CrossContext memory ctx = _mkContextSingle(bytes("tester"), AuthType.AuthMode(uint8(0)));
62+
CrossContext memory ctx = _mkContextSingle(bytes("tester"), AuthType.AuthMode.AUTH_MODE_EXTENSION);
6363

6464
vm.expectRevert(bytes("auth mode must be CHANNEL"));
6565
mock.onContractCall(ctx, hex"01");

0 commit comments

Comments
 (0)