Modulstatus des einstufigen Verbrauchers testen
Tests / test (push) Failing after 38s

This commit is contained in:
dh
2026-09-17 09:43:43 +00:00
parent 9598a287f8
commit b404de4095
@@ -29,6 +29,18 @@ final class VerbraucherEinStufigModulstrukturTest extends TestCase
self::assertMatchesRegularExpression('/^\{[0-9A-F-]{36}\}$/', $metadaten['id']); self::assertMatchesRegularExpression('/^\{[0-9A-F-]{36}\}$/', $metadaten['id']);
} }
public function testFormularEnthaeltDieModulstatus(): void
{
$formular = json_decode(
(string) file_get_contents(self::MODULPFAD . 'form.json'),
true,
512,
JSON_THROW_ON_ERROR
);
self::assertSame([102, 201, 202], array_column($formular['status'], 'code'));
}
public function testPropertiesSindRegistriertUndImFormularVorhanden(): void public function testPropertiesSindRegistriertUndImFormularVorhanden(): void
{ {
$basis = (string) file_get_contents(__DIR__ . '/../libs/VerbraucherBasisTrait.php'); $basis = (string) file_get_contents(__DIR__ . '/../libs/VerbraucherBasisTrait.php');