From 7e6de00e0e962605b43510df6439efbfcaeeebd0 Mon Sep 17 00:00:00 2001 From: Herbert Maschke Date: Tue, 10 Mar 2020 10:24:26 +0100 Subject: [PATCH] generate uuid instead of word in AttributeFamilyCest.php to avoid randomly failing test --- tests/functional/Admin/Catalog/AttributeFamilyCest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/Admin/Catalog/AttributeFamilyCest.php b/tests/functional/Admin/Catalog/AttributeFamilyCest.php index 9c17e02d6..9a3ed6da1 100644 --- a/tests/functional/Admin/Catalog/AttributeFamilyCest.php +++ b/tests/functional/Admin/Catalog/AttributeFamilyCest.php @@ -74,8 +74,8 @@ class AttributeFamilyCest private function fillForm(FunctionalTester $I): array { $testData = [ - 'code' => $I->fake()->word, - 'name' => $I->fake()->word, + 'code' => $I->fake()->uuid, + 'name' => $I->fake()->sentence, ]; $I->fillField('code', $testData['code']);