Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
LlamaTokenVotingTestSetup.setUp()
Browse files Browse the repository at this point in the history
  • Loading branch information
0xrajath committed Dec 7, 2023
1 parent 499dc3b commit 2503407
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions test/token-voting/ERC20TokenholderActionCreator.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {Test, console2} from "forge-std/Test.sol";

import {ERC20Votes} from "lib/openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Votes.sol";
import {MockERC20Votes} from "test/mock/MockERC20Votes.sol";
import {PeripheryTestSetup} from "test/PeripheryTestSetup.sol";
import {LlamaTokenVotingTestSetup} from "test/token-voting/LlamaTokenVotingTestSetup.sol";

import {Action, ActionInfo} from "src/lib/Structs.sol";
import {RoleDescription} from "src/lib/UDVTs.sol";
Expand All @@ -15,7 +15,7 @@ import {ILlamaStrategy} from "src/interfaces/ILlamaStrategy.sol";
import {ERC20TokenholderActionCreator} from "src/token-voting/ERC20TokenholderActionCreator.sol";
import {TokenholderActionCreator} from "src/token-voting/TokenholderActionCreator.sol";

contract ERC20TokenholderActionCreatorTest is PeripheryTestSetup {
contract ERC20TokenholderActionCreatorTest is LlamaTokenVotingTestSetup {
event ActionCreated(
uint256 id,
address indexed creator,
Expand All @@ -39,7 +39,7 @@ contract ERC20TokenholderActionCreatorTest is PeripheryTestSetup {
address notATokenHolder = makeAddr("notATokenHolder");

function setUp() public virtual override {
PeripheryTestSetup.setUp();
LlamaTokenVotingTestSetup.setUp();
vm.deal(address(this), 1 ether);
vm.deal(address(msg.sender), 1 ether);

Expand Down
2 changes: 1 addition & 1 deletion test/token-voting/ERC20TokenholderCaster.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ contract ERC20TokenholderCasterTest is LlamaTokenVotingTestSetup {
}

function setUp() public virtual override {
PeripheryTestSetup.setUp();
LlamaTokenVotingTestSetup.setUp();
vm.deal(address(this), 1 ether);
vm.deal(address(msg.sender), 1 ether);
vm.deal(address(EXECUTOR), 1 ether);
Expand Down
2 changes: 1 addition & 1 deletion test/token-voting/ERC721TokenholderActionCreator.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ contract ERC721TokenholderActionCreatorTest is LlamaTokenVotingTestSetup {
address notATokenHolder = makeAddr("notATokenHolder");

function setUp() public virtual override {
PeripheryTestSetup.setUp();
LlamaTokenVotingTestSetup.setUp();
vm.deal(address(this), 1 ether);
vm.deal(address(msg.sender), 1 ether);

Expand Down
2 changes: 1 addition & 1 deletion test/token-voting/ERC721TokenholderCaster.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ contract ERC721TokenholderCasterTest is LlamaTokenVotingTestSetup {
}

function setUp() public virtual override {
PeripheryTestSetup.setUp();
LlamaTokenVotingTestSetup.setUp();
vm.deal(address(this), 1 ether);
vm.deal(address(msg.sender), 1 ether);
vm.deal(address(EXECUTOR), 1 ether);
Expand Down
2 changes: 1 addition & 1 deletion test/token-voting/LlamaTokenVotingFactory.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ contract LlamaTokenVotingFactoryTest is LlamaTokenVotingTestSetup {
ERC721Votes public ERC721TOKEN;

function setUp() public override {
PeripheryTestSetup.setUp();
LlamaTokenVotingTestSetup.setUp();

FACTORY = new LlamaTokenVotingFactory();
MockERC20Votes mockERC20Votes = new MockERC20Votes();
Expand Down

0 comments on commit 2503407

Please sign in to comment.