Skip to content

Commit

Permalink
Merge pull request ethereum-optimism#7968 from ethereum-optimism/ctb/…
Browse files Browse the repository at this point in the history
…modularize-mocks

contracts-bedrock: modularize mocks
  • Loading branch information
tynes authored Nov 1, 2023
2 parents c24298e + b0895c0 commit 54f9a68
Show file tree
Hide file tree
Showing 18 changed files with 250 additions and 234 deletions.
2 changes: 1 addition & 1 deletion op-bindings/bindings/mips_more.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion op-bindings/bindings/preimageoracle_more.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity 0.8.15;
import { Test } from "forge-std/Test.sol";
import { AdminFaucetAuthModule } from "src/periphery/faucet/authmodules/AdminFaucetAuthModule.sol";
import { Faucet } from "src/periphery/faucet/Faucet.sol";
import { FaucetHelper } from "test/Helpers.sol";
import { FaucetHelper } from "test/mocks/FaucetHelper.sol";

/// @title AdminFaucetAuthModuleTest
/// @notice Tests the AdminFaucetAuthModule contract.
Expand Down
4 changes: 2 additions & 2 deletions packages/contracts-bedrock/test/AssetReceiver.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ pragma solidity 0.8.15;

// Testing utilities
import { Test } from "forge-std/Test.sol";
import { TestERC20 } from "test/Helpers.sol";
import { TestERC721 } from "test/Helpers.sol";
import { TestERC20 } from "test/mocks/TestERC20.sol";
import { TestERC721 } from "test/mocks/TestERC721.sol";
import { AssetReceiver } from "src/periphery/AssetReceiver.sol";

contract AssetReceiver_Initializer is Test {
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts-bedrock/test/Drippie.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Test } from "forge-std/Test.sol";
import { Drippie } from "src/periphery/drippie/Drippie.sol";
import { IDripCheck } from "src/periphery/drippie/IDripCheck.sol";
import { CheckTrue } from "src/periphery/drippie/dripchecks/CheckTrue.sol";
import { SimpleStorage } from "test/Helpers.sol";
import { SimpleStorage } from "test/mocks/SimpleStorage.sol";

/// @title TestDrippie
/// @notice This is a wrapper contract around Drippie used for testing.
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts-bedrock/test/Faucet.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity 0.8.15;
import { Test } from "forge-std/Test.sol";
import { Faucet } from "src/periphery/faucet/Faucet.sol";
import { AdminFaucetAuthModule } from "src/periphery/faucet/authmodules/AdminFaucetAuthModule.sol";
import { FaucetHelper } from "test/Helpers.sol";
import { FaucetHelper } from "test/mocks/FaucetHelper.sol";

contract Faucet_Initializer is Test {
event Drip(string indexed authModule, bytes32 indexed userId, uint256 amount, address indexed recipient);
Expand Down
Loading

0 comments on commit 54f9a68

Please sign in to comment.