Portiere PHP-Cronjobs auf Spring-Tasks und ergänze Legacy-Tests

Migriert die weiterhin benötigten Zeitaufgaben einschließlich SOAP-Importen, Betriebsstatus und Wiederanlaufkontrolle. Aktiviert 115 native Spring-Tasks im Docker-Image ohne Cron-Daemon oder PHP und dokumentiert die entfallenen HHA-Aufrufe. Ergänzt PHP-/UI-Testwerkzeuge und aktualisiert den Projektstand auf Version 0.2.0.
This commit is contained in:
Sven committed 2026-10-27 09:53:23 +01:00
1 parent 781a2b82dc
commit 9de2358480
57 files changed
+3251 -7

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
<?php
use PHPUnit\Framework\Attributes\DataProvider;
final class ConditionTest extends LegacyTestCase
{
#[DataProvider('conditions')]
public function testComparisonOperators(mixed $value, string $operator, mixed $compare, bool $expected): void
{
self::assertSame($expected, mcCheckCondition($value, $operator, $compare));
}
public static function conditions(): array
{
return [[5, '==', '5', true], [5, '==', 6, false], [5, '!=', 6, true],
[5, '!=', '5', false], [4, '<', 5, true], [5, '<', 5, false],
[6, '>', 5, true], [5, '>', 5, false], [5, '<=', 5, true],
[6, '<=', 5, false], [5, '>=', 5, true], [4, '>=', 5, false],
['10', '<', '2', false], ['text', '==', 'text', true],
[1, '===', 1, false], [1, 'invalid', 1, false]];
}
}