fix SocieteFactory colors attribute
This commit is contained in:
parent
abdda1fbc4
commit
23c74a2b16
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ class SocieteFactory extends Factory
|
|||
'phone' => $this->faker->unique()->phoneNumber(),
|
||||
'address' => $this->faker->unique()->address(),
|
||||
'logo' => Societe::saveLogo($logo, $companyName),
|
||||
'colors' => $colors->all()
|
||||
'colors' => \json_encode($colors->all())
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue