From 867ca71767977e99307b858d67c0c0446bdb5967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Ba=C5=9F?= Date: Sat, 20 Oct 2018 16:12:21 +0300 Subject: [PATCH] Replace old request values --- tests/Feature/Auth/PermissionsTest.php | 2 +- tests/Feature/Common/ItemsTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Feature/Auth/PermissionsTest.php b/tests/Feature/Auth/PermissionsTest.php index 953907670..876e77c6b 100644 --- a/tests/Feature/Auth/PermissionsTest.php +++ b/tests/Feature/Auth/PermissionsTest.php @@ -76,7 +76,7 @@ class PermissionsTest extends FeatureTestCase private function getPermissionRequest() { return [ - 'name' => $this->faker->name, + 'name' => $this->faker->text(5), 'display_name' => $this->faker->text(5), 'description' => $this->faker->text(5), ]; diff --git a/tests/Feature/Common/ItemsTest.php b/tests/Feature/Common/ItemsTest.php index 08db51c55..a077355ca 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->name, + 'name' => $this->faker->text(5), 'sku' => $this->faker->unique()->ean8, 'picture' => $picture, 'description' => $this->faker->text(100),