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

[#1482] Added 'infix' (tussenvoegsel) to User model #633

Merged
merged 2 commits into from
May 30, 2023

Conversation

Bartvaderkin
Copy link
Contributor

@Bartvaderkin Bartvaderkin commented May 23, 2023

No description provided.

@Bartvaderkin Bartvaderkin force-pushed the feature/1456-user-infix branch 3 times, most recently from 99895a3 to 025c12c Compare May 25, 2023 08:53
@codecov-commenter
Copy link

codecov-commenter commented May 25, 2023

Codecov Report

Merging #633 (5c864b2) into develop (d1e4c71) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #633      +/-   ##
===========================================
- Coverage    96.51%   96.50%   -0.02%     
===========================================
  Files          600      605       +5     
  Lines        20684    20792     +108     
===========================================
+ Hits         19964    20066     +102     
- Misses         720      726       +6     
Impacted Files Coverage Δ
src/open_inwoner/accounts/query.py 100.00% <ø> (ø)
.../open_inwoner/accounts/tests/test_profile_views.py 100.00% <ø> (ø)
src/open_inwoner/accounts/admin.py 94.04% <100.00%> (ø)
src/open_inwoner/accounts/forms.py 98.03% <100.00%> (+0.03%) ⬆️
...pen_inwoner/accounts/migrations/0060_user_infix.py 100.00% <100.00%> (ø)
src/open_inwoner/accounts/models.py 97.64% <100.00%> (+<0.01%) ⬆️
src/open_inwoner/accounts/tests/factories.py 100.00% <100.00%> (ø)
src/open_inwoner/accounts/tests/test_auth.py 100.00% <100.00%> (ø)
src/open_inwoner/accounts/tests/test_user.py 100.00% <100.00%> (ø)
src/open_inwoner/accounts/views/inbox.py 100.00% <100.00%> (ø)
... and 2 more

... and 8 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Bartvaderkin Bartvaderkin marked this pull request as ready for review May 25, 2023 12:22
@Bartvaderkin Bartvaderkin requested a review from vaszig May 25, 2023 12:23
Copy link
Contributor

@vaszig vaszig left a comment

Choose a reason for hiding this comment

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

Looks good! Let's add the infix field to the profile/edit.html as well, because we render the fields manually.

@@ -31,15 +30,16 @@ def test_signal_updates_users_data_when_logged_in_via_digid_v_2(self, m):
user.bsn = "999993847"
user.save()

updated_user = User.objects.filter(email=user.email)
user.refresh_from_db()
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for the updated part!

@Bartvaderkin
Copy link
Contributor Author

Looks good! Let's add the infix field to the profile/edit.html as well, because we render the fields manually.

Thanks, weird how I missed that. I appended a commit for it.

@Bartvaderkin Bartvaderkin requested a review from vaszig May 26, 2023 07:08
@Bartvaderkin Bartvaderkin changed the title [#1456] Added 'infix' (tussenvoegsel) to User model [#1482] Added 'infix' (tussenvoegsel) to User model May 26, 2023
@Bartvaderkin
Copy link
Contributor Author

Bartvaderkin commented May 26, 2023

Sorry, but I had to force-push this again because I had the wrong ticket number in the commit log 😞

(I'll leave the branch name because it is not that important after it is merged)

Copy link
Member

@alextreme alextreme left a comment

Choose a reason for hiding this comment

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

Van alle Engelse benamingen voor dit veld vind ik 'infix' nog de beste, en ik heb een hoop verschillende gezien

@alextreme alextreme merged commit 88785f5 into develop May 30, 2023
@alextreme alextreme deleted the feature/1456-user-infix branch May 30, 2023 12:39
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.

4 participants