Skip to content

Commit

Permalink
Update to account for NFTPages being returned by account objects
Browse files Browse the repository at this point in the history
  • Loading branch information
ximinez committed Jan 5, 2023
1 parent 8eb5807 commit b633d47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/rpc/AccountLinesRPC_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,7 @@ class AccountLinesRPC_test : public beast::unit_test::suite
auto aliceLines = getNextLine(env, alice, std::nullopt);
constexpr std::size_t expectedIterations = 16;
constexpr std::size_t expectedLines = 2;
constexpr std::size_t expectedNFTs = 1;
std::size_t foundLines = 0;

auto hasMarker = [](auto const& aliceLines) {
Expand Down Expand Up @@ -729,7 +730,7 @@ class AccountLinesRPC_test : public beast::unit_test::suite
// this test will need to be updated.
BEAST_EXPECT(
aliceObjects[jss::result][jss::account_objects].size() ==
iterations);
iterations + expectedNFTs);
// If ledger object association ever changes, for whatever
// reason, this test will need to be updated.
BEAST_EXPECTS(
Expand Down

0 comments on commit b633d47

Please sign in to comment.