20 lines
646 B
PHP
20 lines
646 B
PHP
<?php
|
|
|
|
it('keeps legacy monthly renderer script green', function (): void {
|
|
$result = run_legacy_script('tests/goals/MonthlyTargetRendererTest.php');
|
|
if ((int)$result['exitCode'] !== 0) {
|
|
throw new RuntimeException((string)$result['output']);
|
|
}
|
|
|
|
expect((int)$result['exitCode'])->toBe(0);
|
|
});
|
|
|
|
it('keeps legacy department daily renderer script green', function (): void {
|
|
$result = run_legacy_script('tests/goals/DepartmentDailyTargetsRendererTest.php');
|
|
if ((int)$result['exitCode'] !== 0) {
|
|
throw new RuntimeException((string)$result['output']);
|
|
}
|
|
|
|
expect((int)$result['exitCode'])->toBe(0);
|
|
});
|