Closed Harrish92 closed 1 week ago
Perhaps create a new data class where we store sensitive issue to be shared to all view models.
@coaguila
Done. SharedData
is the data class where these issues are going to be stored.
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
96.3% Coverage on New Code
0.0% Duplication on New Code
Title
feat: implement delete account function
Description
This PR introduces the functionality to delete a user account. It closes issue #212 .
Changes
deleteUser
method inUserViewModel
to handle account deletion.deleteUserProfile
method inUserRepositorySupabase
for Supabase integration.deleteUserProfile
inUserRepositorySupabaseTest
.UserViewModelTest
with tests for account deletion.Files
Added
app/src/test/java/com/android/periodpals/model/user/UserRepositorySupabaseTest.kt
Modified
app/src/main/java/com/android/periodpals/model/user/UserViewModel.kt
app/src/main/java/com/android/periodpals/model/user/UserRepositorySupabase.kt
app/src/main/java/com/android/periodpals/model/user/UserRepository.kt
Testing
deleteUserProfile
method inUserRepositorySupabaseTest
.deleteUser
method inUserViewModelTest
.