From 1dc3a344efd901664427d59e41a58364ef0f16ec Mon Sep 17 00:00:00 2001 From: diana Date: Thu, 10 Oct 2024 11:54:45 -0400 Subject: [PATCH] add extra test to remove warning (#361) --- test/PositionDescriptor.t.sol | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/PositionDescriptor.t.sol b/test/PositionDescriptor.t.sol index 7ee83911..54a0f7ae 100644 --- a/test/PositionDescriptor.t.sol +++ b/test/PositionDescriptor.t.sol @@ -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 {