Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cw721-nft-base unit tests #99

Merged
merged 6 commits into from
Sep 30, 2020
Merged

cw721-nft-base unit tests #99

merged 6 commits into from
Sep 30, 2020

Conversation

maurolacy
Copy link
Contributor

@maurolacy maurolacy commented Sep 29, 2020

Basic unit tests for most of the handlers (will write approve_all() / revoke_all() tests tomorrow).

Tests are not exhaustive, but are a good start. They can be made exhaustive with more time / effort.

@maurolacy maurolacy requested a review from ethanfrey September 29, 2020 07:29
@maurolacy maurolacy self-assigned this Sep 29, 2020
@maurolacy maurolacy changed the title Basic transfer_nft() unit test cw721-nft-base unit tests Sep 29, 2020
@ethanfrey
Copy link
Member

Nice start. Thank you for this.

Please ping me on discord when you start coding tomorrow, or I will if I start first. If I start first, I would merge this (already a nice step forward) and then start another PR.

query_all_approvals() (broken) impl
Copy link
Member

@ethanfrey ethanfrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice start minor comments - plus those around the commented out code on discord

contracts/cw721-base/src/contract.rs Outdated Show resolved Hide resolved
contracts/cw721-base/src/contract.rs Outdated Show resolved Hide resolved
@ethanfrey ethanfrey marked this pull request as ready for review September 30, 2020 08:39
@ethanfrey ethanfrey merged commit d15ed65 into cw721-nft-base Sep 30, 2020
@ethanfrey ethanfrey deleted the cw721-nft-base-tests branch September 30, 2020 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants