Automatische Verbrauchererkennung absichern
Tests / test (push) Failing after 37s

This commit is contained in:
dh
2026-09-17 09:46:01 +00:00
parent ecbd0a3baf
commit 052685401f
@@ -133,6 +133,14 @@ final class VerbraucherEinStufigModulstrukturTest extends TestCase
self::assertStringContainsString("'Kennung' => 'Tageslaufzeit_s'", $modul);
}
public function testManagerKenntDieModulIDGenauEinmal(): void
{
$manager = (string) file_get_contents(__DIR__ . '/../Manager/module.php');
$modulID = '{15879A4E-D0C2-4495-83DE-46E1E462591E}';
self::assertSame(1, substr_count($manager, $modulID));
}
public function testDiagnosevariablenSindOptional(): void
{
$modul = (string) file_get_contents(self::MODULPFAD . 'module.php');