Merge pull request #100 from peerplays-network/feature/GRPH-79
GRPH-79 Enhancing Proposal Information
This commit is contained in:
commit
ca4a02da21
2 changed files with 5 additions and 3 deletions
|
|
@ -54,6 +54,7 @@ class proposal_object : public abstract_object<proposal_object>
|
|||
std::string fail_reason;
|
||||
|
||||
bool is_authorized_to_execute(database& db) const;
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -521,9 +521,10 @@ BOOST_AUTO_TEST_CASE( committee_authority )
|
|||
// Should throw because the transaction is now in review.
|
||||
GRAPHENE_CHECK_THROW(PUSH_TX( db, trx ), fc::exception);
|
||||
|
||||
// generate_blocks(prop.expiration_time);
|
||||
// fails
|
||||
// BOOST_CHECK_EQUAL(get_balance(nathan, asset_id_type()(db)), 100000);
|
||||
generate_blocks(prop.expiration_time);
|
||||
BOOST_CHECK_EQUAL(get_balance(nathan, asset_id_type()(db)), 100000);
|
||||
// proposal deleted
|
||||
BOOST_CHECK_THROW( db.get<proposal_object>(prop.id), fc::exception );
|
||||
} FC_LOG_AND_RETHROW() }
|
||||
|
||||
BOOST_FIXTURE_TEST_CASE( fired_committee_members, database_fixture )
|
||||
|
|
|
|||
Loading…
Reference in a new issue