adjust code generation to how it should be in AttributeFamilyCest.php
This commit is contained in:
parent
7e6de00e0e
commit
00e351ce30
|
|
@ -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,
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue