aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/tests/Controller/UsersControllerTest.php
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2023-02-07 14:08:08 +0100
committerGitHub <noreply@github.com>2023-02-07 14:08:08 +0100
commit4e969ef8a28c8e71c22f499b738b33e695e4de90 (patch)
tree31d873e986b63f09ef75cb3f85cc6c1a3c644acd /apps/provisioning_api/tests/Controller/UsersControllerTest.php
parent17ed023be26a6b6aa8f08f27d2faf4a32c2c5b24 (diff)
parent6e276ad2e18e713754e8b0d0dec4221912f2ca11 (diff)
downloadnextcloud-server-4e969ef8a28c8e71c22f499b738b33e695e4de90.tar.gz
nextcloud-server-4e969ef8a28c8e71c22f499b738b33e695e4de90.zip
Merge pull request #36120 from nextcloud/enh/32bits-support
Fix 32bit support and add workflow for 32bits testing
Diffstat (limited to 'apps/provisioning_api/tests/Controller/UsersControllerTest.php')
-rw-r--r--apps/provisioning_api/tests/Controller/UsersControllerTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/provisioning_api/tests/Controller/UsersControllerTest.php b/apps/provisioning_api/tests/Controller/UsersControllerTest.php
index e5c5678efd3..9e2da244f7b 100644
--- a/apps/provisioning_api/tests/Controller/UsersControllerTest.php
+++ b/apps/provisioning_api/tests/Controller/UsersControllerTest.php
@@ -73,7 +73,6 @@ use Psr\Log\LoggerInterface;
use Test\TestCase;
class UsersControllerTest extends TestCase {
-
/** @var IUserManager|MockObject */
protected $userManager;
/** @var IConfig|MockObject */
@@ -497,7 +496,7 @@ class UsersControllerTest extends TestCase {
->method('generate')
->with(10)
->willReturnCallback(function () {
- return (string)rand(1000000000, 9999999999);
+ return (string)rand(100000000, 999999999);
});
$this->assertTrue(key_exists(