feat: pre-flight check of agency bookings
addresses #869bqxr4q
This commit is contained in:
1 parent
f9142e3080
commit
b41b19d4c6
26 files changed
+1818
-304
No files matched your search
@@ -254,13 +254,13 @@ class ParticipantDataPrefillerTest extends TestCase
|
||||
$this->assertFalse($this->service->shouldPrefillApplicant($filled));
|
||||
}
|
||||
|
||||
public function testDummyTokenMatchesOnlyInCreateMode(): void
|
||||
public function testDummyTokenMatchesInCreateAndEditModes(): void
|
||||
{
|
||||
$participant = new ParticipantDto();
|
||||
$participant->lastName = ParticipantDataPrefiller::TOKEN;
|
||||
|
||||
$this->assertTrue($this->service->isDummyDataFillRequested($participant, BookingDto::MODE_CREATE));
|
||||
$this->assertFalse($this->service->isDummyDataFillRequested($participant, BookingDto::MODE_EDIT));
|
||||
$this->assertTrue($this->service->isDummyDataFillRequested($participant, BookingDto::MODE_EDIT));
|
||||
}
|
||||
|
||||
public function testFillDummyParticipantSetsGeneratedData(): void
|
||||
|
||||
Reference in new issue
Block a user