From 3b656446afcac16b53aeb5906cb0d2dd57a23d7e Mon Sep 17 00:00:00 2001 From: J0WI Date: Wed, 7 Jul 2021 17:52:46 +0200 Subject: Introduce ISecureRandom::CHAR_ALPHANUMERIC Signed-off-by: J0WI --- apps/federatedfilesharing/tests/TokenHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/federatedfilesharing/tests') diff --git a/apps/federatedfilesharing/tests/TokenHandlerTest.php b/apps/federatedfilesharing/tests/TokenHandlerTest.php index 229cb017e33..ab28fc0858b 100644 --- a/apps/federatedfilesharing/tests/TokenHandlerTest.php +++ b/apps/federatedfilesharing/tests/TokenHandlerTest.php @@ -49,7 +49,7 @@ class TokenHandlerTest extends \Test\TestCase { $this->secureRandom->expects($this->once())->method('generate') ->with( $this->expectedTokenLength, - ISecureRandom::CHAR_LOWER . ISecureRandom::CHAR_UPPER . ISecureRandom::CHAR_DIGITS + ISecureRandom::CHAR_ALPHANUMERIC ) ->willReturn('mytoken'); -- cgit v1.2.3