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

Mvj 234 more tests for gdpr api #775

Merged
merged 5 commits into from
Nov 21, 2024
Merged

Mvj 234 more tests for gdpr api #775

merged 5 commits into from
Nov 21, 2024

Conversation

henrinie-nc
Copy link
Contributor

Adds tests for utils, which test actual deletion behavior.
Adds tests for views, which are partly done to document the behavior rather than actually testing - since the original package tests those already.

Adds migration to delete Favourite objects that are related to the user that is being deleted. Favourite is like the shopping cart of this app, so it doesnt need to be persisted.

"API_AUTHORIZATION_FIELD": "authorization.permissions.scopes",
}

user = user_factory(first_name="Jari", last_name="Kuningas")
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a real person. I would use something like "UserFirstName" and "UserLastName"

Copy link
Contributor

Choose a reason for hiding this comment

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

... unless it's required for the Suomi.fi authentication

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not required, fair point, although it is not a real name

Copy link
Contributor

Choose a reason for hiding this comment

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

I mean, that person exists in the real world, I googled it :) But not in our system.

@henrinie-nc henrinie-nc merged commit 15446df into develop Nov 21, 2024
2 checks passed
@henrinie-nc henrinie-nc deleted the MVJ-234-gdpr-api branch November 21, 2024 12:09
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