Skip to content

Commit

Permalink
add extra test to remove warning (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
dianakocsis authored Oct 10, 2024
1 parent f4d24f5 commit 1dc3a34
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/PositionDescriptor.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ contract PositionDescriptorTest is Test, PosmTestSetup, GasSnapshot {
// decode json
bytes memory data = vm.parseJson(json);
Token memory token = abi.decode(data, (Token));

assertEq(token.name, "Uniswap - 0.3% - TEST/TEST - 1.0060<>1.0121");
assertEq(
token.description,
unicode"This NFT represents a liquidity position in a Uniswap v4 TEST-TEST pool. The owner of this NFT can modify or redeem the position.\n\nPool Manager Address: 0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f\nTEST Address: 0x5991a2df15a8f6a256d3ec51e99254cd3fb576a9\nTEST Address: 0x2e234dae75c793f67a35089c9d99245e1c58470b\nHook Address: 0x0000000000000000000000000000000000000000\nFee Tier: 0.3%\nToken ID: 1\n\n⚠️ DISCLAIMER: Due diligence is imperative when assessing this NFT. Make sure currency addresses match the expected currencies, as currency symbols may be imitated."
);
}

function test_tokenURI_revertsWithInvalidTokenId() public {
Expand Down

0 comments on commit 1dc3a34

Please sign in to comment.