mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
test: enable unit tests to work with variable reference fee (#5145)
Fix remaining unit tests to be able to process reference fee values other than 10.
This commit is contained in:
@@ -461,9 +461,6 @@ class Simulate_test : public beast::unit_test::suite
|
||||
{
|
||||
BEAST_EXPECT(result[jss::error] == "highFee");
|
||||
BEAST_EXPECT(result[jss::error_code] == rpcHIGH_FEE);
|
||||
BEAST_EXPECT(
|
||||
result[jss::error_message] ==
|
||||
"Fee of 8889 exceeds the requested tx limit of 100");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -637,7 +634,9 @@ class Simulate_test : public beast::unit_test::suite
|
||||
auto finalFields = modifiedNode[sfFinalFields];
|
||||
BEAST_EXPECT(
|
||||
finalFields[sfBalance] ==
|
||||
"99999999999999990");
|
||||
std::to_string(
|
||||
100'000'000'000'000'000 -
|
||||
env.current()->fees().base.drops()));
|
||||
}
|
||||
}
|
||||
BEAST_EXPECT(
|
||||
|
||||
Reference in New Issue
Block a user