Tests / test (push) Failing after 49s
Merge the V4 development history with current manager, SDL and setpoint fixes. Retain guarded trial behavior and consolidate controls in Prognose / Forecast. Exclude the unverified accounting-evidence change; no runtime deployment or new dispatch permission. Validated: 357 PHPUnit tests / 1758 assertions, 150 PHP syntax checks, 310 backend tests, 16 portal tests and isolated UI/receiver checks. develop and beta publication explicitly approved by Daniel Haefliger.
25 lines
804 B
PHP
25 lines
804 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Belevo\EnelixEMS\Tests;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
final class NetzfahrplanV4RegeltestTest extends TestCase
|
|
{
|
|
public function testIsolatedControlledTrialStateMachines(): void
|
|
{
|
|
$pipes = [];
|
|
$process = proc_open([PHP_BINARY, __DIR__ . '/V4ControlTrial/checks.php'],
|
|
[0 => ['pipe', 'r'], 1 => ['pipe', 'w'], 2 => ['pipe', 'w']], $pipes);
|
|
self::assertIsResource($process);
|
|
fclose($pipes[0]);
|
|
$out = stream_get_contents($pipes[1]);$err = stream_get_contents($pipes[2]);
|
|
fclose($pipes[1]);fclose($pipes[2]);
|
|
self::assertSame(0, proc_close($process), $out . $err);
|
|
self::assertSame('', $err);
|
|
self::assertStringContainsString('TOTAL 96 checks passed.', $out);
|
|
}
|
|
}
|