fix test error

This commit is contained in:
tequ
2025-09-15 22:07:43 +09:00
parent 6c0732ccbe
commit 2a27280f1a
4 changed files with 13 additions and 4 deletions

View File

@@ -2313,6 +2313,15 @@ class MPToken_test : public beast::unit_test::suite
reward = STAmount{sfSignatureReward, USD(10)};
minAmount = STAmount{sfMinAccountCreateAmount, mpt};
}
// SponsorshipSet
{
Json::Value jv;
jv[jss::TransactionType] = jss::SponsorshipSet;
jv[jss::Account] = alice.human();
jv[sfSponsee.fieldName] = carol.human();
jv[sfFeeAmount.fieldName] = mpt.getJson(JsonOptions::none);
test(jv, sfFeeAmount.fieldName.c_str());
}
}
BEAST_EXPECT(txWithAmounts.empty());
}