fix: adopt changes in test
This commit is contained in:
@@ -54,10 +54,6 @@ class ParticipantPrepopulationServiceTest extends TestCase
|
|||||||
->with('[email protected]', 'decrypted_password')
|
->with('[email protected]', 'decrypted_password')
|
||||||
->willReturn($personalData);
|
->willReturn($personalData);
|
||||||
|
|
||||||
$this->logger->expects($this->once())
|
|
||||||
->method('info')
|
|
||||||
->with('Prepopulated applicant data from user profile', ['email' => '[email protected]']);
|
|
||||||
|
|
||||||
$result = $this->service->prepopulateApplicantFromUser($user, $applicant);
|
$result = $this->service->prepopulateApplicantFromUser($user, $applicant);
|
||||||
|
|
||||||
// BPN API IDs for linking to existing records
|
// BPN API IDs for linking to existing records
|
||||||
@@ -104,9 +100,6 @@ class ParticipantPrepopulationServiceTest extends TestCase
|
|||||||
->method('getPersonalData')
|
->method('getPersonalData')
|
||||||
->willReturn($personalData);
|
->willReturn($personalData);
|
||||||
|
|
||||||
$this->logger->expects($this->once())
|
|
||||||
->method('info');
|
|
||||||
|
|
||||||
$result = $this->service->prepopulateApplicantFromUser($user, $applicant);
|
$result = $this->service->prepopulateApplicantFromUser($user, $applicant);
|
||||||
|
|
||||||
// Required fields should be populated
|
// Required fields should be populated
|
||||||
|
|||||||
Reference in New Issue
Block a user