Replace old request values

This commit is contained in:
Batuhan Baş 2018-10-20 16:12:21 +03:00
parent a181cff070
commit 867ca71767
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ class PermissionsTest extends FeatureTestCase
private function getPermissionRequest() private function getPermissionRequest()
{ {
return [ return [
'name' => $this->faker->name, 'name' => $this->faker->text(5),
'display_name' => $this->faker->text(5), 'display_name' => $this->faker->text(5),
'description' => $this->faker->text(5), 'description' => $this->faker->text(5),
]; ];

View File

@ -78,7 +78,7 @@ class ItemsTest extends FeatureTestCase
return [ return [
'company_id' => $this->company->id, 'company_id' => $this->company->id,
'name' => $this->faker->name, 'name' => $this->faker->text(5),
'sku' => $this->faker->unique()->ean8, 'sku' => $this->faker->unique()->ean8,
'picture' => $picture, 'picture' => $picture,
'description' => $this->faker->text(100), 'description' => $this->faker->text(100),