Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTortue Torche <tortuetorche@users.noreply.github.com>2019-12-10 17:01:09 +0300
committerTortue Torche <tortuetorche@users.noreply.github.com>2019-12-10 17:03:55 +0300
commit856c8864916557962012a4e3879830b8913658e2 (patch)
treea386646e9534a6b3e654e05693f1dd437c505c32 /tests
parent1e968696ba12bfe5cfb10d1a3bc2bed9a21f0083 (diff)
Add 'showResults' attribute in the Event factory
Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Factories/EventFactory.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Unit/Factories/EventFactory.php b/tests/Unit/Factories/EventFactory.php
index 745a617f..d9af4e27 100644
--- a/tests/Unit/Factories/EventFactory.php
+++ b/tests/Unit/Factories/EventFactory.php
@@ -42,5 +42,6 @@ $fm->define('OCA\Polls\Db\Event')->setDefinitions([
},
'token' => Faker::regexify('[A-Za-z0-9]{16}'),
'isAnonymous' => 0,
- 'fullAnonymous' => 0
]);
+ 'fullAnonymous' => 0,
+ 'showResults' => true,