-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TM: Use shared TimeHelpersMock for tests
- Loading branch information
1 parent
4bde044
commit 18a683e
Showing
2 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
pragma solidity 0.4.24; | ||
|
||
import "../../TokenManager.sol"; | ||
import "@aragon/test-helpers/contracts/TimeHelpersMock.sol"; | ||
|
||
contract TokenManagerMock is TokenManager, TimeHelpersMock { | ||
|
||
contract TokenManagerMock is TokenManager { | ||
uint256 mockTime; | ||
|
||
function mock_setTimestamp(uint256 i) public { mockTime = i; } | ||
function getTimestamp() internal view returns (uint256) { return mockTime; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters