-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3097,7 +3097,7 @@ def _check_everything_allowed(self, user, extra_post_data_1=None): | |
PROCESS_TITLE = "Modification du compte candidat" | ||
|
||
post_data = { | ||
"title": "M", | ||
"title": self.job_seeker.title, | ||
"first_name": NEW_FIRST_NAME, | ||
"last_name": "New last name", | ||
"birthdate": self.job_seeker.jobseeker_profile.birthdate, | ||
|
@@ -3657,6 +3657,8 @@ def test_detect_existing_job_seeker(client): | |
|
||
job_seeker = JobSeekerFactory( | ||
jobseeker_profile__nir="", | ||
jobseeker_profile__birthdate=datetime.date(1997, 1, 1), | ||
title="M", | ||
first_name="Jérémy", | ||
email="[email protected]", | ||
) | ||
|
@@ -3734,7 +3736,11 @@ def test_detect_existing_job_seeker(client): | |
"lack_of_nir_reason": "", | ||
"lack_of_nir": False, | ||
} | ||
print("-----------------------------------") | ||
print(post_data) | ||
Check failure Code scanning / CodeQL Clear-text logging of sensitive information High test
This expression logs
sensitive data (private) Error loading related location Loading |
||
print("-----------------------------------") | ||
response = client.post(next_url, data=post_data) | ||
|
||
assertContains( | ||
response, | ||
( | ||
|