-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feat/add image data deletion in account deletion #237
Feat/add image data deletion in account deletion #237
Conversation
…back old implementation of ImageRepositoryFirestore::deleteAllDataFromUser
…itoryFirestoreTest deleteAllDataFromUser to old version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great PR! I tested it on my emulator and it works as expected. I'll let you respond to my comments. Maybe the PR description could have been more descriptive about the function added and the test files that were modified for the next time. I'll wait for your answers and quickly approve the PR. Good job!
app/src/main/java/com/android/streetworkapp/model/image/ImageRepositoryFirestore.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/android/streetworkapp/model/image/ImageRepositoryFirestore.kt
Show resolved
Hide resolved
Shoud have specified for the function but it wasn't a new thing. I brought back the function I had already done in pr #227. I changed it after the review but there was an issue with the updated implementation. |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the responses to my comments and the changes. I approve this PR. Don't forget to accept the issue on SonarCloud. Good job!
This pr adds the image deletion process to the existing account deletion.
How to test:
Upload pictures, rate other user pictures. Delete account and check that your uploads and ratings have been deleted.
There's a picture uploaded here to to check the rating on: