Skip to content

Commit

Permalink
Merge pull request #1955 from bitshares/oxarbitrage-patch-1
Browse files Browse the repository at this point in the history
remove double newlines from get_account_history test case
  • Loading branch information
oxarbitrage committed Aug 22, 2019
2 parents 16f3990 + c956ff0 commit fccca92
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/tests/history_api_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ BOOST_AUTO_TEST_CASE(get_account_history) {
create_account("dan");
create_account("bob");


generate_block();
fc::usleep(fc::milliseconds(2000));

Expand All @@ -66,7 +65,6 @@ BOOST_AUTO_TEST_CASE(get_account_history) {
BOOST_CHECK(histories[0].id.instance() != 0);
BOOST_CHECK_EQUAL(histories[0].op.which(), account_create_op_id);


// Limit 2 returns 2 result
histories = hist_api.get_account_history("1.2.0", operation_history_id_type(), 2, operation_history_id_type());
BOOST_CHECK_EQUAL(histories.size(), 2u);
Expand All @@ -77,7 +75,6 @@ BOOST_AUTO_TEST_CASE(get_account_history) {
BOOST_CHECK_EQUAL(histories.size(), 1u);
BOOST_CHECK_EQUAL(histories[0].op.which(), account_create_op_id);


} catch (fc::exception &e) {
edump((e.to_detail_string()));
throw;
Expand Down

0 comments on commit fccca92

Please sign in to comment.