U-A/U-B: Prozesskern mit Fachmodulen, versionierten Modellen, eingefrorenem Prozessplan, ProcessRunner (harte/weiche Abhängigkeiten), CasePricing, Loyalty nur im Tester
CaseActivities/CaseAutomation sind Fassaden über ProcessRunner. Verhaltensvergleich v0.11: 11 Abläufe und 198 Konstellationen gleich, beabsichtigte Abweichungen I-004/I-005 (F-001/F-002). Volle Suite vor U-B: 785/785. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
98df5e9e3b
commit
7e22e12cac
80 files changed
+4628
-445
No files matched your search
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Support\Process;
|
||||
|
||||
use App\Enums\CaseType;
|
||||
use App\Process\Models\InquiryModel;
|
||||
use App\Process\Models\Point;
|
||||
use App\Process\Models\Variant;
|
||||
|
||||
/**
|
||||
* An A1 model with a variant that inserts the address check at AfterGuestIdentified – only in tests.
|
||||
*/
|
||||
final class A1WithAddressCheck extends InquiryModel
|
||||
{
|
||||
public static function key(): string
|
||||
{
|
||||
return 'a1.offer_address';
|
||||
}
|
||||
|
||||
public static function version(): int
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
public static function label(): string
|
||||
{
|
||||
return 'Angebot mit Adressprüfung (Test)';
|
||||
}
|
||||
|
||||
public static function description(): string
|
||||
{
|
||||
return 'Test';
|
||||
}
|
||||
|
||||
public static function caseTypes(): array
|
||||
{
|
||||
return [CaseType::A1];
|
||||
}
|
||||
|
||||
public static function fixes(): array
|
||||
{
|
||||
return ['pre_reservation' => true];
|
||||
}
|
||||
|
||||
public function variants(): array
|
||||
{
|
||||
return [Variant::make('standard', 'Standard'), Variant::make('address_check', 'Mit Adressprüfung')->insert(Point::AfterGuestIdentified, 'guest.address_verification')];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user