Commits
Tim Donohue authored and GitHub committed 1ea7c613152 Merge
530 530 | ePersonId = 'testEPersonId'; |
531 531 | ePersonEmail = 'person.email@4science.it'; |
532 532 | component.epersonInitial = Object.assign(new EPerson(), { |
533 533 | id: ePersonId, |
534 534 | email: ePersonEmail |
535 535 | }); |
536 536 | component.resetPassword(); |
537 537 | }); |
538 538 | |
539 539 | it('should call epersonRegistrationService.registerEmail', () => { |
540 - | expect(epersonRegistrationService.registerEmail).toHaveBeenCalledWith(ePersonEmail); |
540 + | expect(epersonRegistrationService.registerEmail).toHaveBeenCalledWith(ePersonEmail, null, 'forgot'); |
541 541 | }); |
542 542 | }); |
543 543 | }); |