aboutsummaryrefslogtreecommitdiff
path: root/tests/libwallet_api_tests/main.cpp
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-04-12 22:30:20 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-04-12 22:30:20 +0300
commit1774d9574b5c6ebc55b3f4a6adf82d995bfad42f (patch)
treec2de41256f5b26e1416e3a5ec22f6ad5816b6c01 /tests/libwallet_api_tests/main.cpp
parentTransaction API continued (diff)
downloadmonero-1774d9574b5c6ebc55b3f4a6adf82d995bfad42f.tar.xz
TODOs for Transaction/Transfer interface
Diffstat (limited to 'tests/libwallet_api_tests/main.cpp')
-rw-r--r--tests/libwallet_api_tests/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/libwallet_api_tests/main.cpp b/tests/libwallet_api_tests/main.cpp
index 6e993d70c..dee874cd6 100644
--- a/tests/libwallet_api_tests/main.cpp
+++ b/tests/libwallet_api_tests/main.cpp
@@ -271,11 +271,11 @@ TEST_F(WalletManagerTest, WalletTransaction)
ASSERT_TRUE(wallet1->init(TESTNET_DAEMON_ADDRESS, 0));
ASSERT_TRUE(wallet1->refresh());
uint64_t balance = wallet1->balance();
- ASSERT_TRUE(wallet1->status() == Bitmonero::Transaction::Status_Ok);
+ ASSERT_TRUE(wallet1->status() == Bitmonero::PendingTransaction::Status_Ok);
- Bitmonero::Transaction * transaction = wallet1->createTransaction(
+ Bitmonero::PendingTransaction * transaction = wallet1->createTransaction(
RECIPIENT_WALLET_ADDRESS, AMOUNT_10XMR);
- ASSERT_TRUE(transaction->status() == Bitmonero::Transaction::Status_Ok);
+ ASSERT_TRUE(transaction->status() == Bitmonero::PendingTransaction::Status_Ok);
ASSERT_TRUE(wallet1->balance() == balance);
ASSERT_TRUE(transaction->amount() == AMOUNT_10XMR);
@@ -288,7 +288,7 @@ TEST_F(WalletManagerTest, WalletTransaction)
int main(int argc, char** argv)
{
- //epee::debug::get_set_enable_assert(true, false);
+
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}