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 16:38:34 +0300
committerTortue Torche <tortuetorche@users.noreply.github.com>2019-12-10 17:03:55 +0300
commitc6fe4082c2fde0ba8dc0d1cad8f5f5c7361b1c18 (patch)
tree38ab9f692c91c80f32f340b82d3fba43c38b5281 /tests
parent30876940adf9cf65f2f1846ba08fa6253dece933 (diff)
The 'hash' column in the 'polls_events' table was renamed 'token'.
See: https://github.com/nextcloud/polls/commit/5b7165b7aae6948c499cb70935c4d9caf4f41e19#diff-b2c29e32782807f65fe6a60f16ee479fL74 Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Factories/EventFactory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Unit/Factories/EventFactory.php b/tests/Unit/Factories/EventFactory.php
index 030cf409..745a617f 100644
--- a/tests/Unit/Factories/EventFactory.php
+++ b/tests/Unit/Factories/EventFactory.php
@@ -40,7 +40,7 @@ $fm->define('OCA\Polls\Db\Event')->setDefinitions([
$date = new DateTime('tomorrow');
return $date->format('Y-m-d H:i:s');
},
- 'hash' => Faker::regexify('[A-Za-z0-9]{16}'),
+ 'token' => Faker::regexify('[A-Za-z0-9]{16}'),
'isAnonymous' => 0,
'fullAnonymous' => 0
]);