diff options
author | chriseth <c@ethdev.com> | 2016-06-21 07:39:06 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-06-29 05:18:55 +0800 |
commit | c0bbd1cfe592144df5769f0313a2b0d418ef720f (patch) | |
tree | 1ee5a03b0420c00e0e6a72f4b9809c5e3fce8cc9 /test/contracts/AuctionRegistrar.cpp | |
parent | e5db096da9a2bfb3e6445b2d89cf730c7e22dc6d (diff) | |
download | dexon-solidity-c0bbd1cfe592144df5769f0313a2b0d418ef720f.tar.gz dexon-solidity-c0bbd1cfe592144df5769f0313a2b0d418ef720f.tar.zst dexon-solidity-c0bbd1cfe592144df5769f0313a2b0d418ef720f.zip |
Some more test fixes.
Diffstat (limited to 'test/contracts/AuctionRegistrar.cpp')
-rw-r--r-- | test/contracts/AuctionRegistrar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/contracts/AuctionRegistrar.cpp b/test/contracts/AuctionRegistrar.cpp index 0eee42a4..f94cc935 100644 --- a/test/contracts/AuctionRegistrar.cpp +++ b/test/contracts/AuctionRegistrar.cpp @@ -421,7 +421,7 @@ BOOST_AUTO_TEST_CASE(auction_simple) registrar.reserve(name); BOOST_CHECK_EQUAL(registrar.owner(name), 0); // "wait" until auction end - m_envInfo.setTimestamp(m_envInfo.timestamp() + m_biddingTime + 10); + m_rpc.test_modifyTimestamp(currentTimestamp() + m_biddingTime + 10); // trigger auction again registrar.reserve(name); BOOST_CHECK_EQUAL(registrar.owner(name), m_sender); |