Added security check report field and variable
This commit is contained in:
@@ -128,6 +128,9 @@ class SecurityCheckServiceTest extends TestCase
|
||||
'blocker_start' => '2026-07-01T08:00',
|
||||
'blocker_end' => '2026-07-02T18:00',
|
||||
];
|
||||
$step[SecurityCheckProcess::STEP_REPORT]['fields'] = [
|
||||
SecurityCheckProcess::FIELD_CUSTOMER_REPORT => 'All checks passed; no action required.',
|
||||
];
|
||||
$input = [
|
||||
'step' => $step,
|
||||
'tech' => ['tls' => ['done' => '1', 'note' => 'verified']],
|
||||
@@ -143,6 +146,10 @@ class SecurityCheckServiceTest extends TestCase
|
||||
$this->assertSame(77, $process_state['beauftragung']['by']);
|
||||
$this->assertNotEmpty($process_state['beauftragung']['at']);
|
||||
$this->assertSame('Jane', $process_state[SecurityCheckProcess::STEP_INFORMATION]['fields']['technical_contact']);
|
||||
$this->assertSame(
|
||||
'All checks passed; no action required.',
|
||||
$process_state[SecurityCheckProcess::STEP_REPORT]['fields'][SecurityCheckProcess::FIELD_CUSTOMER_REPORT]
|
||||
);
|
||||
|
||||
$tech_state = json_decode((string) $captured['tech_state_json'], true);
|
||||
$this->assertTrue($tech_state['tls']['done']);
|
||||
|
||||
Reference in New Issue
Block a user