diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-01-23 11:41:17 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-02-07 11:23:30 +0100 |
commit | 0753be3ff29b459bdbb23deecc37c3e4c05d8464 (patch) | |
tree | e4b652684c69dbd4095174ec2d26978da4406128 /apps/files_versions | |
parent | 7a628c036132bad8eac152a1efcb4a15f42a44d6 (diff) | |
download | nextcloud-server-0753be3ff29b459bdbb23deecc37c3e4c05d8464.tar.gz nextcloud-server-0753be3ff29b459bdbb23deecc37c3e4c05d8464.zip |
Fix a few tests that were using too big int values for 32bits
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/tests/BackgroundJob/ExpireVersionsTest.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_versions/tests/BackgroundJob/ExpireVersionsTest.php b/apps/files_versions/tests/BackgroundJob/ExpireVersionsTest.php index 442a7020d89..1d5812767ca 100644 --- a/apps/files_versions/tests/BackgroundJob/ExpireVersionsTest.php +++ b/apps/files_versions/tests/BackgroundJob/ExpireVersionsTest.php @@ -33,7 +33,6 @@ use PHPUnit\Framework\MockObject\MockObject; use Test\TestCase; class ExpireVersionsTest extends TestCase { - /** @var IConfig|MockObject */ private $config; @@ -70,7 +69,7 @@ class ExpireVersionsTest extends TestCase { $timeFactory = $this->createMock(ITimeFactory::class); $timeFactory->method('getTime') ->with() - ->willReturn(99999999999); + ->willReturn(999999999); $job = new ExpireVersions($this->config, $this->userManager, $this->expiration, $timeFactory); $job->start($this->jobList); |