summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-12-04 18:43:02 +0100
committerBackportbot <backportbot-noreply@rullzer.com>2018-12-05 17:53:42 +0000
commit9838c91a5cf74d5e8dcd8debfccb8bc3c13a016f (patch)
treec07cbdf805c977f6ac5523cb004246ff6b4cce64 /tests
parentbdeaff0790eb8aae3e2942b1af42e4ccde83e9ba (diff)
downloadnextcloud-server-9838c91a5cf74d5e8dcd8debfccb8bc3c13a016f.tar.gz
nextcloud-server-9838c91a5cf74d5e8dcd8debfccb8bc3c13a016f.zip
Add setup check for pending bigint conversion
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/Settings/Controller/CheckSetupControllerTest.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/Settings/Controller/CheckSetupControllerTest.php b/tests/Settings/Controller/CheckSetupControllerTest.php
index 360bd27f254..01d2178fd7f 100644
--- a/tests/Settings/Controller/CheckSetupControllerTest.php
+++ b/tests/Settings/Controller/CheckSetupControllerTest.php
@@ -159,6 +159,7 @@ class CheckSetupControllerTest extends TestCase {
'hasOpcacheLoaded',
'getAppDirsWithDifferentOwner',
'hasRecommendedPHPModules',
+ 'hasBigIntConversionPendingColumns',
])->getMock();
}
@@ -493,6 +494,11 @@ class CheckSetupControllerTest extends TestCase {
->method('hasRecommendedPHPModules')
->willReturn([]);
+ $this->checkSetupController
+ ->expects($this->once())
+ ->method('hasBigIntConversionPendingColumns')
+ ->willReturn([]);
+
$expected = new DataResponse(
[
'isGetenvServerWorking' => true,
@@ -536,6 +542,7 @@ class CheckSetupControllerTest extends TestCase {
'isMemoryLimitSufficient' => true,
'appDirsWithDifferentOwner' => [],
'recommendedPHPModules' => [],
+ 'pendingBigIntConversionColumns' => [],
]
);
$this->assertEquals($expected, $this->checkSetupController->check());