Skip to content

Conversation

farbodahm
Copy link
Contributor

@farbodahm farbodahm commented Feb 1, 2021

Now, user's can delete their profile by sending a DELETE request to /user/profile route.
(This will delete their links too)


This change is Reviewable

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 1, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Collaborator

@pesarkhobeee pesarkhobeee left a comment

Choose a reason for hiding this comment

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

Reviewed 4 of 8 files at r1.
Reviewable status: 4 of 8 files reviewed, 2 unresolved discussions (waiting on @farbodahm)


tests/test_forget_password.py, line 245 at r1 (raw file):

def test_delete_user_profile_accepted(client):

Why this particular test is in this file?
shouldn't be in test_user.py ?


tests/test_user.py, line 962 at r1 (raw file):

def test_login_deleted_profile_failed(client):

Also, this test's place smells for me!

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

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