feat: update personal data of canceled participants as well
addresses #869bze0kq
This commit is contained in:
@@ -164,15 +164,15 @@ class BookingDataProcessorTest extends TestCase
|
||||
$this->assertEquals('+49123456789', $participant->communication->mobile);
|
||||
}
|
||||
|
||||
public function testInactiveParticipantsPersonalDataNotUpdated(): void
|
||||
public function testCanceledParticipantsPersonalDataIsUpdated(): void
|
||||
{
|
||||
$formData = $this->createFormDataWithInactiveParticipant();
|
||||
|
||||
$this->processor->createUpdateRequestPayload($formData);
|
||||
|
||||
$participant = $formData->booking->participants[0];
|
||||
$this->assertEquals('Original', $participant->firstName);
|
||||
$this->assertEquals('Name', $participant->name);
|
||||
$this->assertEquals('Updated', $participant->firstName);
|
||||
$this->assertEquals('Participant', $participant->name);
|
||||
}
|
||||
|
||||
public function testApplicantDataSyncWithFirstParticipant(): void
|
||||
|
||||
Reference in New Issue
Block a user