diff --git a/.env.testing b/.env.testing index 299f945da..fe2d1edf3 100644 --- a/.env.testing +++ b/.env.testing @@ -10,7 +10,7 @@ LOG_CHANNEL=stack DB_CONNECTION=mysql DB_HOST=mysql DB_PORT=3306 -DB_DATABASE=bagisto_testing +DB_DATABASE=bagisto_test DB_USERNAME=bagisto DB_PASSWORD=secret DB_PREFIX= diff --git a/tests/functional/Admin/Catalog/AttributeCest.php b/tests/functional/Admin/Catalog/AttributeCest.php index 649a7d058..d1a203d5b 100644 --- a/tests/functional/Admin/Catalog/AttributeCest.php +++ b/tests/functional/Admin/Catalog/AttributeCest.php @@ -2,7 +2,6 @@ namespace Tests\Functional\Admin\Catalog; - use FunctionalTester; use Webkul\Attribute\Models\Attribute; @@ -76,7 +75,7 @@ class AttributeCest private function fillForm(FunctionalTester $I, bool $skipType = false): array { $testData = [ - 'code' => $I->fake()->word, + 'code' => $I->fake()->firstName, 'type' => $I->fake()->randomElement([ 'text', 'textarea', @@ -85,7 +84,7 @@ class AttributeCest 'select', 'multiselect' ]), - 'admin_name' => $I->fake()->word, + 'admin_name' => $I->fake()->firstName, ]; $I->fillField('code', $testData['code']);