mirror of
https://github.com/lens-protocol/core.git
synced 2026-04-22 03:02:03 -04:00
misc: Remove warnings from some tests
This commit is contained in:
@@ -211,7 +211,7 @@ abstract contract ERC721Test is Test {
|
||||
}
|
||||
|
||||
function testFailMintToZero() public {
|
||||
uint256 tokenId = _mintERC721(address(0));
|
||||
_mintERC721(address(0));
|
||||
}
|
||||
|
||||
function testFailBurnUnMinted() public {
|
||||
|
||||
@@ -453,7 +453,7 @@ contract MultiStateHubTest_PausedState_WithSig is
|
||||
deadline
|
||||
);
|
||||
|
||||
uint256[] memory nftIds = _followWithSig(
|
||||
_followWithSig(
|
||||
DataTypes.FollowWithSigData({
|
||||
delegatedSigner: address(0),
|
||||
followerProfileId: followerProfileId,
|
||||
@@ -779,7 +779,7 @@ contract MultiStateHubTest_PublishingPausedState_WithSig is
|
||||
deadline
|
||||
);
|
||||
|
||||
uint256[] memory nftIds = _followWithSig(
|
||||
_followWithSig(
|
||||
DataTypes.FollowWithSigData({
|
||||
delegatedSigner: address(0),
|
||||
followerProfileId: followerProfileId,
|
||||
|
||||
@@ -8,7 +8,7 @@ import 'contracts/libraries/DataTypes.sol';
|
||||
contract CollectingHelpers is TestSetup {
|
||||
CollectNFT _collectNftAfter;
|
||||
|
||||
function _checkCollectNFTBefore() internal returns (uint256) {
|
||||
function _checkCollectNFTBefore() internal view returns (uint256) {
|
||||
// collect NFT doesn't exist yet
|
||||
|
||||
address collectNftAddress = hub.getCollectNFT(
|
||||
|
||||
Reference in New Issue
Block a user