Skip to content

New API: Deleting User's Profile#45

Open
farbodahm wants to merge 4 commits into
Restfulness:masterfrom
farbodahm:master
Open

New API: Deleting User's Profile#45
farbodahm wants to merge 4 commits into
Restfulness:masterfrom
farbodahm:master

Conversation

@farbodahm

@farbodahm farbodahm commented Feb 1, 2021

Copy link
Copy Markdown
Contributor

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

sonarqubecloud Bot commented Feb 1, 2021

Copy link
Copy Markdown

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

@pesarkhobeee pesarkhobeee left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown

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