misc: Remove warnings from some tests

This commit is contained in:
donosonaumczuk
2022-12-21 18:05:57 -03:00
parent cd149759ad
commit 366e861945
3 changed files with 4 additions and 4 deletions

View File

@@ -211,7 +211,7 @@ abstract contract ERC721Test is Test {
}
function testFailMintToZero() public {
uint256 tokenId = _mintERC721(address(0));
_mintERC721(address(0));
}
function testFailBurnUnMinted() public {

View File

@@ -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,

View File

@@ -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(