Skip to content

Commit

Permalink
change parsebase58
Browse files Browse the repository at this point in the history
  • Loading branch information
cindyyan317 committed Jul 16, 2024
1 parent f243a89 commit 3063a5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/etl/NFTHelpersTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ TEST_F(NFTHelpersTest, NFTMint)
EXPECT_EQ(ripple::uint256(NFTID), nftDatas->tokenID);
EXPECT_EQ(txMeta.getLgrSeq(), nftDatas->ledgerSequence);
EXPECT_EQ(txMeta.getIndex(), nftDatas->transactionIndex);
EXPECT_EQ(nftDatas->owner, ripple::parseBase58<ripple::AccountID>(ACCOUNT));
EXPECT_EQ(nftDatas->owner, GetAccountIDWithString(ACCOUNT));
EXPECT_FALSE(nftDatas->isBurned);
}

Expand All @@ -117,7 +117,7 @@ TEST_F(NFTHelpersTest, NFTBurn)
EXPECT_EQ(ripple::uint256(NFTID), nftDatas->tokenID);
EXPECT_EQ(txMeta.getLgrSeq(), nftDatas->ledgerSequence);
EXPECT_EQ(txMeta.getIndex(), nftDatas->transactionIndex);
EXPECT_EQ(nftDatas->owner, ripple::parseBase58<ripple::AccountID>(ACCOUNT));
EXPECT_EQ(nftDatas->owner, GetAccountIDWithString(ACCOUNT));
EXPECT_TRUE(nftDatas->isBurned);
}

Expand Down Expand Up @@ -158,7 +158,7 @@ TEST_F(NFTHelpersTest, NFTAcceptBuyerOffer)
EXPECT_EQ(ripple::uint256(NFTID), nftDatas->tokenID);
EXPECT_EQ(txMeta.getLgrSeq(), nftDatas->ledgerSequence);
EXPECT_EQ(txMeta.getIndex(), nftDatas->transactionIndex);
EXPECT_EQ(nftDatas->owner, ripple::parseBase58<ripple::AccountID>(ACCOUNT));
EXPECT_EQ(nftDatas->owner, GetAccountIDWithString(ACCOUNT));
EXPECT_FALSE(nftDatas->isBurned);
}

Expand Down

0 comments on commit 3063a5f

Please sign in to comment.