Skip to content

Commit cd14ee8

Browse files
author
Hakob23
committed
test: update NotEoaTest to verify registration reverts for non-EOA calls
1 parent 76560a5 commit cd14ee8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/discovery/ContractCallerRegistration.t.sol renamed to test/discovery/NotEoa.t.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import {IFlyoverDiscovery} from "../../src/interfaces/IFlyoverDiscovery.sol";
66
import {Flyover} from "../../src/libraries/Flyover.sol";
77
import {RegisterCaller} from "../../src/test/RegisterCaller.sol";
88

9-
contract ContractCallerRegistrationTest is DiscoveryTestBase {
9+
contract NotEoaTest is DiscoveryTestBase {
1010
function setUp() public {
1111
deployDiscovery();
1212
}
1313

14-
// ============ Contract caller rejection tests ============
14+
// ============ NotEOA checks tests ============
1515

1616
function test_Register_RevertsWhenContractCallsRegister() public {
1717
RegisterCaller caller = new RegisterCaller();

0 commit comments

Comments
 (0)