summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-12-05 18:52:56 +0100
committerGitHub <noreply@github.com>2018-12-05 18:52:56 +0100
commitfe5813783bf09905728ed1a5a7f158f56659b1b5 (patch)
tree541b7f20135ad28441e1dad30b2a234b05dff4db /tests
parent5e44699139d59e66d65586adc3da8e4ee1c4ebde (diff)
parent17b2827bbf20691dc59721a9c61a225c5fb4e0de (diff)
downloadnextcloud-server-fe5813783bf09905728ed1a5a7f158f56659b1b5.tar.gz
nextcloud-server-fe5813783bf09905728ed1a5a7f158f56659b1b5.zip
Merge pull request #12824 from nextcloud/feature/12763/add-setup-check-for-bigint-conversion
Add setup check for pending bigint conversion
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());