提交 6435293d 编写于 作者: A arhag

fix bootseq_tests by using new eosio_assert_message_exception

上级 58c0f92f
......@@ -273,7 +273,7 @@ BOOST_FIXTURE_TEST_CASE( bootseq_test, bootseq_tester ) {
// Spend some time so the producer pay pool is filled by the inflation rate
produce_min_num_of_blocks_to_spend_time_wo_inactive_prod(fc::seconds(30 * 24 * 3600)); // 30 days
// Since the total activated stake is less than 150,000,000, it shouldn't be possible to claim rewards
BOOST_REQUIRE_THROW(claim_rewards(N(runnerup1)), assert_exception);
BOOST_REQUIRE_THROW(claim_rewards(N(runnerup1)), eosio_assert_message_exception);
// This will increase the total vote stake by (40,000,000 - 1,000)
votepro( N(whale4), {N(prodq), N(prodr), N(prods), N(prodt), N(produ)} );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册