Skip to content

Commit

Permalink
admin_actions_tests: improve addopenbal_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elmato committed Sep 5, 2023
1 parent e49990b commit 8814949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contract/tests/admin_actions_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,9 @@ BOOST_FIXTURE_TEST_CASE(addopenbal_tests, admin_action_tester) try {
BOOST_REQUIRE_THROW(check_balances(), std::runtime_error);
produce_blocks(1);

// This combination is to adjust just the eosio.token EOS balance of alice
// This combination is to adjust just the eosio.token EOS balance of the `evm_account_name`
transfer_token("alice"_n, evm_account_name, make_asset(1), evm_account_name.to_string());
addopenbal("alice"_n, make_asset(-1));
addopenbal(evm_account_name, make_asset(-1));

check_balances();

Expand Down

0 comments on commit 8814949

Please sign in to comment.