fix wallet.startup_balance (#1642)
* fix wallet.startup_balance unit test
This commit is contained in:
parent
54c872c535
commit
558ed2c3fa
1 changed files with 2 additions and 0 deletions
|
@ -70,7 +70,9 @@ TEST (wallet, startup_balance)
|
|||
nano::keypair key;
|
||||
wallet_l->insert_adhoc (key.prv);
|
||||
auto wallet (std::make_shared<nano_qt::wallet> (*test_application, processor, *system.nodes[0], wallet_l, key.pub));
|
||||
wallet->needs_balance_refresh = true;
|
||||
wallet->start ();
|
||||
wallet->application.processEvents (QEventLoop::AllEvents);
|
||||
ASSERT_EQ ("Balance: 0 NANO", wallet->self.balance_label->text ().toStdString ());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue