Some request values changed

This commit is contained in:
Batuhan Baş 2018-10-20 13:04:01 +03:00
parent 023452681b
commit a181cff070
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -76,7 +76,7 @@ class RolesTest extends FeatureTestCase
private function getRoleRequest()
{
return [
'name' => $this->faker->text(5),
'name' => $this->faker->name,
'display_name' => $this->faker->text(5),
'description' => $this->faker->text(5),
'permissions' => Permission::take(10)->pluck('id')->toArray(),

View File

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