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

Added delete test #79

Merged
merged 2 commits into from
Nov 5, 2023
Merged

Conversation

vishalda
Copy link
Contributor

@vishalda vishalda commented Oct 10, 2023

Closes issue: #45

  • Have added test for remove() method

@GabrielCTroia
Copy link
Contributor

Thank you @vishalda!

What happens when you try to delete a non existent item? Should we not test that too? 🤔

@GabrielCTroia
Copy link
Contributor

Also, please sign your commits so I can merge them once ready. Check this tutorial out https://docs.github.com/articles/about-gpg/

@GabrielCTroia GabrielCTroia added good first issue Good for newcomers hacktoberfest Improvements that qualify for Hacktoberfest labels Oct 10, 2023
@vishalda
Copy link
Contributor Author

@GabrielCTroia I was trying to remove non-existent data but there were no errors after doing that operation, is this the normal behavior of remove method?

@GabrielCTroia
Copy link
Contributor

Hmm, the interface expects to return a ResourceInexistentError:
Screenshot 2023-10-10 at 12 36 09 PM

but the implementation skipped over that from what it seems:
Screenshot 2023-10-10 at 12 35 06 PM

Would you like to implement that too? If not I can open another issue. Thank you!

@vishalda
Copy link
Contributor Author

Yes I would like to try

@GabrielCTroia GabrielCTroia merged commit 52c8753 into movesthatmatter:main Nov 5, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest Improvements that qualify for Hacktoberfest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants