aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/tests/Mailer
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2021-07-07 17:52:46 +0200
committerJ0WI <J0WI@users.noreply.github.com>2021-07-08 15:11:31 +0200
commit3b656446afcac16b53aeb5906cb0d2dd57a23d7e (patch)
tree05ef4885ca0010e1253acf718cb1567e1d82fc03 /apps/settings/tests/Mailer
parent040bc04287dd955194aaa9ec53d69e95d5bb5385 (diff)
downloadnextcloud-server-3b656446afcac16b53aeb5906cb0d2dd57a23d7e.tar.gz
nextcloud-server-3b656446afcac16b53aeb5906cb0d2dd57a23d7e.zip
Introduce ISecureRandom::CHAR_ALPHANUMERIC
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to 'apps/settings/tests/Mailer')
-rw-r--r--apps/settings/tests/Mailer/NewUserMailHelperTest.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php
index 0fe1d922275..d1c5657f251 100644
--- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php
+++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php
@@ -129,11 +129,7 @@ class NewUserMailHelperTest extends TestCase {
$this->secureRandom
->expects($this->once())
->method('generate')
- ->with(21,
- ISecureRandom::CHAR_DIGITS .
- ISecureRandom::CHAR_LOWER .
- ISecureRandom::CHAR_UPPER
- )
+ ->with(21, ISecureRandom::CHAR_ALPHANUMERIC)
->willReturn('MySuperLongSecureRandomToken');
$this->timeFactory
->expects($this->once())