Recovery old request values
This commit is contained in:
parent
dff0173f3a
commit
2a8147fc31
@ -76,7 +76,7 @@ class RolesTest extends FeatureTestCase
|
|||||||
private function getRoleRequest()
|
private function getRoleRequest()
|
||||||
{
|
{
|
||||||
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),
|
||||||
'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(5),
|
'name' => $this->faker->text(15),
|
||||||
'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