Some request values changed
This commit is contained in:
parent
023452681b
commit
a181cff070
@ -76,7 +76,7 @@ class PermissionsTest extends FeatureTestCase
|
|||||||
private function getPermissionRequest()
|
private function getPermissionRequest()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'name' => $this->faker->text(5),
|
'name' => $this->faker->name,
|
||||||
'display_name' => $this->faker->text(5),
|
'display_name' => $this->faker->text(5),
|
||||||
'description' => $this->faker->text(5),
|
'description' => $this->faker->text(5),
|
||||||
];
|
];
|
||||||
|
@ -76,7 +76,7 @@ class RolesTest extends FeatureTestCase
|
|||||||
private function getRoleRequest()
|
private function getRoleRequest()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'name' => $this->faker->text(5),
|
'name' => $this->faker->name,
|
||||||
'display_name' => $this->faker->text(5),
|
'display_name' => $this->faker->text(5),
|
||||||
'description' => $this->faker->text(5),
|
'description' => $this->faker->text(5),
|
||||||
'permissions' => Permission::take(10)->pluck('id')->toArray(),
|
'permissions' => Permission::take(10)->pluck('id')->toArray(),
|
||||||
|
@ -78,7 +78,7 @@ class ItemsTest extends FeatureTestCase
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
'company_id' => $this->company->id,
|
'company_id' => $this->company->id,
|
||||||
'name' => $this->faker->text(15),
|
'name' => $this->faker->name,
|
||||||
'sku' => $this->faker->unique()->ean8,
|
'sku' => $this->faker->unique()->ean8,
|
||||||
'picture' => $picture,
|
'picture' => $picture,
|
||||||
'description' => $this->faker->text(100),
|
'description' => $this->faker->text(100),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user