Skip to content

Commit

Permalink
Merge pull request #6 from dapp-org/remove-treasury
Browse files Browse the repository at this point in the history
remove treasury test
  • Loading branch information
xwvvvvwx authored Feb 9, 2021
2 parents 11b7dde + 779a46d commit fa3f915
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions contracts/tests/RadicleTests.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ pragma abicoder v2;
import {RadicleToken} from "../Governance/RadicleToken.sol";
import {Governor} from "../Governance/Governor.sol";
import {Timelock} from "../Governance/Timelock.sol";
import {Treasury} from "../Governance/Treasury.sol";
import {VestingToken} from "../Governance/VestingToken.sol";
import {Registrar, Commitments} from "../Registrar.sol";

Expand Down Expand Up @@ -186,23 +185,6 @@ contract VestingTokenTests is DSTest, DSMath {
}
}

contract TreasuryTests is DSTest {
Hevm hevm = Hevm(HEVM_ADDRESS);
Treasury treasury;

function setUp() public {
treasury = new Treasury(address(this));
}

function test_initial() public {
assertEq(treasury.admin(), address(this));
address(treasury).transfer(100 ether);
assertEq(address(treasury).balance, 100 ether);
treasury.withdraw(address(2), 10 ether);
assertEq(address(treasury).balance, 90 ether);
}
}

contract RegistrarRPCTests is DSTest {
ENS ens;
RadicleToken rad;
Expand Down

0 comments on commit fa3f915

Please sign in to comment.