This commit is contained in:
@@ -8,18 +8,17 @@ use PHPUnit\Framework\TestCase;
|
||||
|
||||
final class DokumentationsstrukturTest extends TestCase
|
||||
{
|
||||
/** @return list<string> */
|
||||
/** @return list<array{string}> */
|
||||
public function modulReadmes(): array
|
||||
{
|
||||
return [
|
||||
'Batterie',
|
||||
'Wassererwaermer',
|
||||
'Pufferspeicher',
|
||||
'Verbraucher-1-Stufig',
|
||||
'Waermepumpe',
|
||||
'Ladestation-Stand-Alone',
|
||||
'Ladestation-Gateway',
|
||||
'Easee-Gateway',
|
||||
['Batterie'],
|
||||
['Pufferspeicher'],
|
||||
['Verbraucher-1-Stufig'],
|
||||
['Waermepumpe'],
|
||||
['Ladestation-Stand-Alone'],
|
||||
['Ladestation-Gateway'],
|
||||
['Easee-Gateway'],
|
||||
];
|
||||
}
|
||||
|
||||
@@ -49,4 +48,13 @@ final class DokumentationsstrukturTest extends TestCase
|
||||
self::assertStringContainsString('Status: Implementiert', $inhalt);
|
||||
self::assertStringContainsString('Verteilalgorithmus', $inhalt);
|
||||
}
|
||||
|
||||
public function testWarmwassererwaermerDokumentiertDenImplementiertenStand(): void
|
||||
{
|
||||
$inhalt = file_get_contents(__DIR__ . '/../docs/module/Wassererwaermer/README.md');
|
||||
self::assertNotFalse($inhalt);
|
||||
self::assertStringContainsString('Status: implementiert', $inhalt);
|
||||
self::assertStringContainsString('Properties', $inhalt);
|
||||
self::assertStringContainsString('Managerkommunikation', $inhalt);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user