This commit is contained in:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user