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/sharebymail/tests/ShareByMailProviderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/sharebymail/tests') diff --git a/apps/sharebymail/tests/ShareByMailProviderTest.php b/apps/sharebymail/tests/ShareByMailProviderTest.php index 64d81aab254..a82da164b78 100644 --- a/apps/sharebymail/tests/ShareByMailProviderTest.php +++ b/apps/sharebymail/tests/ShareByMailProviderTest.php @@ -301,7 +301,7 @@ class ShareByMailProviderTest extends TestCase { $this->secureRandom->expects($this->once()) ->method('generate') - ->with(8, ISecureRandom::CHAR_LOWER . ISecureRandom::CHAR_UPPER . ISecureRandom::CHAR_DIGITS) + ->with(8, ISecureRandom::CHAR_HUMAN_READABLE) ->willReturn('autogeneratedPassword'); $this->eventDispatcher->expects($this->once()) ->method('dispatchTyped') -- cgit v1.2.3