From 14300c7f20cc36b75cc6975e69f96a592b38025c Mon Sep 17 00:00:00 2001 From: gladcow Date: Tue, 22 Oct 2019 20:19:39 +0300 Subject: [PATCH] test fix --- tests/cli/son.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/cli/son.cpp b/tests/cli/son.cpp index 09e88a6e..b04b573a 100644 --- a/tests/cli/son.cpp +++ b/tests/cli/son.cpp @@ -62,7 +62,7 @@ public: // attempt to give son account some CORE tokens BOOST_TEST_MESSAGE("Transferring CORE tokens from Nathan to son account"); transfer_tx = fixture_.con.wallet_api_ptr->transfer( - "nathan", account_name, "15000", "1.3.0", "Here are some CORE token for your new account", true + "nathan", account_name, "65000", "1.3.0", "Here are some CORE token for your new account", true ); BOOST_CHECK(fixture_.generate_block()); @@ -77,6 +77,14 @@ public: BOOST_CHECK(fixture_.generate_block()); + // create deposit vesting + fixture_.con.wallet_api_ptr->create_vesting(account_name, "50", "son", true); + BOOST_CHECK(fixture_.generate_block()); + + // check deposit is here + auto deposits = fixture_.con.wallet_api_ptr->get_vesting_balances(account_name); + BOOST_CHECK(deposits.size() == 1); + create_tx = fixture_.con.wallet_api_ptr->create_son(account_name, son_url, true); if (generate_maintenance)