diff options
author | dartcafe <github@dartcafe.de> | 2021-06-06 21:05:41 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-06-06 21:05:41 +0300 |
commit | d98a983682d0dba3dfef0ea9e0a4a285ec5266c5 (patch) | |
tree | 2540b8431fac40c5b486d122e78e786ec93cb1fa /tests | |
parent | b04a55c2704748821c01571a9d658d1f6658f856 (diff) |
fix test
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Unit/Factories/OptionFactory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Unit/Factories/OptionFactory.php b/tests/Unit/Factories/OptionFactory.php index 2a4b8f37..92fbc9c2 100644 --- a/tests/Unit/Factories/OptionFactory.php +++ b/tests/Unit/Factories/OptionFactory.php @@ -27,7 +27,7 @@ use League\FactoryMuffin\Faker\Facade as Faker; * General factory for the text model.
*/
$fm->define('OCA\Polls\Db\Option')->setDefinitions([
- 'owner' => Faker::text(255),
+ 'owner' => Faker::firstNameMale(),
'released' => function () {
$date = new DateTime('now');
return $date->getTimestamp();
|