diff --git a/tests/Feature/Auth/RolesTest.php b/tests/Feature/Auth/RolesTest.php index 7e3c24326..d48e85b7d 100644 --- a/tests/Feature/Auth/RolesTest.php +++ b/tests/Feature/Auth/RolesTest.php @@ -76,7 +76,7 @@ class RolesTest extends FeatureTestCase private function getRoleRequest() { return [ - 'name' => $this->faker->name, + 'name' => $this->faker->text(5), 'display_name' => $this->faker->text(5), 'description' => $this->faker->text(5), 'permissions' => Permission::take(10)->pluck('id')->toArray(), diff --git a/tests/Feature/Common/ItemsTest.php b/tests/Feature/Common/ItemsTest.php index a077355ca..5ff8188c9 100644 --- a/tests/Feature/Common/ItemsTest.php +++ b/tests/Feature/Common/ItemsTest.php @@ -78,7 +78,7 @@ class ItemsTest extends FeatureTestCase return [ 'company_id' => $this->company->id, - 'name' => $this->faker->text(5), + 'name' => $this->faker->text(15), 'sku' => $this->faker->unique()->ean8, 'picture' => $picture, 'description' => $this->faker->text(100),