adjust code generation to how it should be in AttributeFamilyCest.php

This commit is contained in:
Herbert Maschke 2020-03-10 10:55:30 +01:00
parent 7e6de00e0e
commit 00e351ce30
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ class AttributeFamilyCest
private function fillForm(FunctionalTester $I): array
{
$testData = [
'code' => $I->fake()->uuid,
// code needs to match to: '/^[a-zA-Z]+[a-zA-Z0-9_]+$/'
'code' => $I->fake()->word . strtr($I->fake()->uuid, ['-' => '_']),
'name' => $I->fake()->sentence,
];