Commit Graph

513 Commits

Author SHA1 Message Date
vicnaum
be4c309326 test: referrals
Co-authored-by: Alan <donosonaumczuk@gmail.com>
2023-06-20 19:37:10 +02:00
donosonaumczuk
f2260b197c test: FollowNFT follower count tests added
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-06-19 16:03:12 +01:00
donosonaumczuk
6e2fd0659d test: Publication tests added - PublicationType, action initialization and contentURI
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-06-19 16:02:49 +01:00
Alan
cbcb6d27ad Merge pull request #97 from lens-protocol/test/follow-nft-coverage
Test: FollowNFT coverage
2023-06-16 19:06:04 +02:00
vicnaum
d605c159df misc: fix FollowNFT test from failing 2023-06-16 18:42:44 +02:00
Alan
ca191831aa Merge pull request #98 from lens-protocol/test/degrees-of-separation
test: Degrees of separation V2
2023-06-16 18:31:54 +02:00
vicnaum
0089acc2c6 misc: Modify ControllableByContract tests to address proper coverage 2023-06-16 18:15:20 +02:00
vicnaum
7793f423b7 test: more tests added to FollowNFT 2023-06-16 18:05:34 +02:00
donosonaumczuk
2b1975d952 test: Degrees of separation ref module tests added 2023-06-16 16:58:26 +01:00
vicnaum
6f3d784f9f test: More tests added for Follow NFT 2023-06-15 22:43:46 +02:00
vicnaum
f28a15afca misc: Added a revert for getting tokenURI of nonexistent profile 2023-06-15 22:42:24 +02:00
Alan
29e0fbb6ce Merge pull request #96 from lens-protocol/test/lens-base-erc721
test: LensBaseERC721 test refactor
2023-06-15 12:06:49 +02:00
donosonaumczuk
f0240f8ccf misc: Referral system test advanced a bit
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-06-14 21:00:15 +01:00
donosonaumczuk
e797f7fdbe misc: getDomainSeparator test added to Lens Base ERC-721
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-06-14 20:41:57 +01:00
donosonaumczuk
b7965b8383 misc: MockNFT uses LensBaseERC721 - testCannot_MintToZero added 2023-06-14 19:29:19 +01:00
donosonaumczuk
2421ea46a2 test: LensBaseERC721Test more coverage 2023-06-14 18:25:25 +01:00
donosonaumczuk
556d48c592 test: testCannot_Approve_Unauthorized fixed - testCannot_MintToZero commented with TODO 2023-06-14 16:10:39 +01:00
donosonaumczuk
8f5ede41bc test: ERC-721 recipient-related tests fixed - Fuzzing added 2023-06-14 15:50:06 +01:00
donosonaumczuk
edb593b3c3 misc: ERC-721 recipient mock contracts added 2023-06-14 15:43:13 +01:00
vicnaum
c24433be63 test: more LensBaseERC721 based tests refactors 2023-06-13 22:47:36 +02:00
vicnaum
2d0c6b12a2 test: Huge refactor of LensBaseERC721 test 2023-06-13 22:46:38 +02:00
vicnaum
053e7be18f test: tokenURI test improved for Lens Handles 2023-06-12 19:43:31 +02:00
vicnaum
88b7b8b72f test: TokenURI tested for profiles 2023-06-12 19:43:17 +02:00
vicnaum
fdb660536e misc: Fixed Royalties weird fuzzing case 2023-06-12 18:32:17 +02:00
vicnaum
409c2ba290 misc: overflow protection in tests 2023-06-12 17:27:01 +02:00
donosonaumczuk
2aced27be5 misc: Transparent proxy file removed and OZ is now imported
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-06-09 20:25:13 +02:00
donosonaumczuk
bd73a31d8f test: Coverage reaised to 100% for Collect NFT files
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-06-09 19:11:58 +02:00
donosonaumczuk
3b0daea5ba fix: getter name usage fixed 2023-06-09 18:43:28 +02:00
Victor Naumik
abe1dc8b8b Merge pull request #94 from lens-protocol/test/nfts-and-royalties
test: NFTs and royalties
2023-06-09 18:40:00 +02:00
donosonaumczuk
8eb7ca8ef0 misc: Redundant getters removed to reduce bytecode size
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-06-09 17:49:03 +02:00
donosonaumczuk
ee97b721c5 test: Legacy V1 and V2 Collect NFT
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-06-09 17:14:48 +02:00
donosonaumczuk
565f25a9dd test: _isLensHubProxyAdmin usage 2023-06-09 17:14:14 +02:00
donosonaumczuk
a4b2a025e6 test: _isLensHubProxyAdmin - more usage added 2023-06-09 17:11:36 +02:00
donosonaumczuk
223df59274 test: Setup module globals fixed and _isLensHubProxyAdmin introduced 2023-06-09 17:10:34 +02:00
donosonaumczuk
42223b22f4 test: ERC-2891 royalties for Profile NFT 2023-06-09 17:08:20 +02:00
donosonaumczuk
4208d3d8ff test: ERC-2891 royalties for Follow NFT 2023-06-09 17:08:07 +02:00
vicnaum
9301dc066e test: LensHubEventHooks test 2023-06-08 17:45:22 +02:00
vicnaum
03258d4a0b misc: fix unused func params in Mock Collect module 2023-06-08 15:35:29 +02:00
vicnaum
993e6fb032 test: LegacyCollect tests 2023-06-08 15:26:55 +02:00
vicnaum
794558f705 misc: Fix _toLegacyV1Pub address casting 2023-06-08 15:25:43 +02:00
vicnaum
91de5f69c9 misc: Refactor MockDeprecatedCollectModule to use MockModule decodeFlagAndRevert feature 2023-06-08 15:21:51 +02:00
vicnaum
4807bed0b1 test: LensHub covered (except legacy collect) 2023-06-07 22:20:15 +02:00
vicnaum
1c00b526e4 misc: More beautiful ignore of unused param in tests 2023-06-07 22:19:19 +02:00
vicnaum
aa436b1586 misc: renamed deprecatedVars to __DEPRECATED__vars 2023-06-07 22:17:41 +02:00
vicnaum
75e46f621f misc: Deprecated FollowNFTURI removed from everywhere 2023-06-07 17:25:34 +02:00
Alan
dd149cf3a4 Merge pull request #92 from lens-protocol/test/lens-governable
Test: LensGovernable and Governance Lib
2023-06-06 18:50:10 +01:00
Alan
df5a59b1fc Merge pull request #90 from lens-protocol/test/token-handle-registry
Test/token handle registry
2023-06-06 18:22:40 +01:00
vicnaum
89701ca36a test: Add tests for linking non existing tokens in TokenHandleRegistry 2023-06-06 18:57:33 +02:00
Victor Naumik
8d3b22a92e Merge pull request #89 from lens-protocol/test/lens-handles
Test/lens handles
2023-06-06 18:40:49 +02:00
Alan
f06ed0d854 Merge pull request #91 from lens-protocol/test/referral-system
feat: Referral system tweaks
2023-06-06 17:38:47 +01:00