The test_fail_listNFT_notOwner() test is designed to verify that non-owners cannot list NFTs for sale.
The test attempts to list token ID 0 without first minting it, causing the test to fail with ERC721NonexistentToken error instead of the expected "Not the owner" error.
Likelihood:
Test fails 100% of the time in current state
Prevents proper validation of ownership checks
Impact:
False test failures mask actual contract behavior
Cannot verify if ownership validation works correctly
May hide actual vulnerabilities in ownership checks
Reduces confidence in test suite reliability
The test execution trace shows the actual error differs from expected:
Mint an NFT to a different address before attempting to list it from an unauthorized account:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.