diff options
author | splitt3r <splitt3r@users.noreply.github.com> | 2018-01-14 16:26:45 +0300 |
---|---|---|
committer | splitt3r <splitt3r@users.noreply.github.com> | 2018-01-14 16:26:45 +0300 |
commit | ea042ed532f1340b8a7998102841801e7dded94a (patch) | |
tree | 965c16c6827cec0a2422e502c99f41827060e1aa /tests | |
parent | eac04fe7ca31edff6e9c16b2652ea22e9dd4d11c (diff) |
Merge branch 'master' into develop-0.9
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Unit/Factories/CommentFactory.php | 2 | ||||
-rw-r--r-- | tests/Unit/Factories/EventFactory.php | 2 | ||||
-rw-r--r-- | tests/Unit/Factories/ParticipationTextFactory.php | 2 | ||||
-rw-r--r-- | tests/Unit/Factories/TextFactory.php | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/Unit/Factories/CommentFactory.php b/tests/Unit/Factories/CommentFactory.php index 3a8fb33c..f4148751 100644 --- a/tests/Unit/Factories/CommentFactory.php +++ b/tests/Unit/Factories/CommentFactory.php @@ -32,5 +32,5 @@ $fm->define('OCA\Polls\Db\Comment')->setDefinitions([ $date = new DateTime('today'); return $date->format('Y-m-d H:i:s'); }, - 'comment' => Faker::paragraph() + 'comment' => Faker::text(255) ]); diff --git a/tests/Unit/Factories/EventFactory.php b/tests/Unit/Factories/EventFactory.php index fa32dd6c..2cb91c9b 100644 --- a/tests/Unit/Factories/EventFactory.php +++ b/tests/Unit/Factories/EventFactory.php @@ -29,7 +29,7 @@ use League\FactoryMuffin\Faker\Facade as Faker; $fm->define('OCA\Polls\Db\Event')->setDefinitions([ 'type' => 0, 'title' => Faker::sentence(10), - 'description' => Faker::paragraph(), + 'description' => Faker::text(255), 'owner' => Faker::firstNameMale(), 'created' => function () { $date = new DateTime('today'); diff --git a/tests/Unit/Factories/ParticipationTextFactory.php b/tests/Unit/Factories/ParticipationTextFactory.php index 7b6f16f4..606595ef 100644 --- a/tests/Unit/Factories/ParticipationTextFactory.php +++ b/tests/Unit/Factories/ParticipationTextFactory.php @@ -27,7 +27,7 @@ use League\FactoryMuffin\Faker\Facade as Faker; * General factory for the participation text model. */ $fm->define('OCA\Polls\Db\ParticipationText')->setDefinitions([ - 'text' => Faker::paragraph(), + 'text' => Faker::text(255), 'userId' => Faker::firstNameMale(), 'type' => 0 ]); diff --git a/tests/Unit/Factories/TextFactory.php b/tests/Unit/Factories/TextFactory.php index 91702af7..28d5675e 100644 --- a/tests/Unit/Factories/TextFactory.php +++ b/tests/Unit/Factories/TextFactory.php @@ -27,5 +27,5 @@ use League\FactoryMuffin\Faker\Facade as Faker; * General factory for the text model. */ $fm->define('OCA\Polls\Db\Text')->setDefinitions([ - 'text' => Faker::paragraph() + 'text' => Faker::text(255) ]); |