Make all the tests compile

This commit is contained in:
Miha Čančula 2019-08-28 17:09:53 +02:00
parent b5d52d9957
commit 3c83b50fd3
No known key found for this signature in database
GPG key ID: 4FC9D4BD4FBAB9B9
2 changed files with 0 additions and 5 deletions

View file

@ -1561,7 +1561,6 @@ BOOST_AUTO_TEST_CASE( vesting_balance_create_test )
op.amount = test_asset.amount( 100 );
//op.vesting_seconds = 60*60*24;
op.policy = cdd_vesting_policy_initializer{ 60*60*24 };
op.balance_type == vesting_balance_type::unspecified;
// Fee must be non-negative
REQUIRE_OP_VALIDATION_SUCCESS( op, fee, core.amount(1) );
@ -1581,7 +1580,6 @@ BOOST_AUTO_TEST_CASE( vesting_balance_create_test )
op.creator = alice_account.get_id();
op.owner = alice_account.get_id();
op.balance_type = vesting_balance_type::unspecified;
account_id_type nobody = account_id_type(1234);
@ -1652,7 +1650,6 @@ BOOST_AUTO_TEST_CASE( vesting_balance_withdraw_test )
create_op.owner = owner;
create_op.amount = amount;
create_op.policy = cdd_vesting_policy_initializer(vesting_seconds);
create_op.balance_type = vesting_balance_type::unspecified;
tx.operations.push_back( create_op );
set_expiration( db, tx );

View file

@ -1316,7 +1316,6 @@ BOOST_AUTO_TEST_CASE(zero_second_vbo)
create_op.owner = alice_id;
create_op.amount = asset(500);
create_op.policy = pinit;
create_op.balance_type = vesting_balance_type::unspecified;
signed_transaction create_tx;
create_tx.operations.push_back( create_op );
@ -1400,7 +1399,6 @@ BOOST_AUTO_TEST_CASE( vbo_withdraw_different )
create_op.owner = alice_id;
create_op.amount = asset(100, stuff_id);
create_op.policy = pinit;
create_op.balance_type = vesting_balance_type::unspecified;
signed_transaction create_tx;
create_tx.operations.push_back( create_op );