Skip to content

Commit

Permalink
refactor: clean up Module tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gas1cent committed Dec 4, 2023
1 parent 571ae8e commit 2248f92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solidity/test/unit/modules/Module.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ contract ForTest_Module is Module {
/**
* @title Module Abstract Unit tests
*/
contract Module_UnitTest is Test, Helpers {
contract Module_Unit is Test, Helpers {
// The target contract
Module public module;

Expand All @@ -43,7 +43,7 @@ contract Module_UnitTest is Test, Helpers {
vm.assume(_caller != address(oracle));

// Check: reverts if not called by oracle?
vm.expectRevert(abi.encodeWithSelector(IModule.Module_OnlyOracle.selector));
vm.expectRevert(IModule.Module_OnlyOracle.selector);
vm.prank(_caller);
module.finalizeRequest(mockRequest, mockResponse, _caller);

Expand Down

0 comments on commit 2248f92

Please sign in to comment.