summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-12-04 17:58:35 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-12-05 00:03:05 +0100
commit5b2222535173312b681ca4ab0de1d01ae28c913b (patch)
tree1fd174c8a236807ead10d1033c82e1e3731b466b /tests
parentf5ad80fc5774934b5f05c3538cd12218f2b17d21 (diff)
downloadnextcloud-server-5b2222535173312b681ca4ab0de1d01ae28c913b.tar.gz
nextcloud-server-5b2222535173312b681ca4ab0de1d01ae28c913b.zip
Update casing of PHP inside method name
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/Settings/Controller/CheckSetupControllerTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/Settings/Controller/CheckSetupControllerTest.php b/tests/Settings/Controller/CheckSetupControllerTest.php
index e85750f6b14..360bd27f254 100644
--- a/tests/Settings/Controller/CheckSetupControllerTest.php
+++ b/tests/Settings/Controller/CheckSetupControllerTest.php
@@ -155,7 +155,7 @@ class CheckSetupControllerTest extends TestCase {
'hasFreeTypeSupport',
'hasMissingIndexes',
'isSqliteUsed',
- 'isPhpMailerUsed',
+ 'isPHPMailerUsed',
'hasOpcacheLoaded',
'getAppDirsWithDifferentOwner',
'hasRecommendedPHPModules',
@@ -473,7 +473,7 @@ class CheckSetupControllerTest extends TestCase {
]);
$this->checkSetupController
->expects($this->once())
- ->method('isPhpMailerUsed')
+ ->method('isPHPMailerUsed')
->willReturn(false);
$this->checker
->expects($this->once())
@@ -531,7 +531,7 @@ class CheckSetupControllerTest extends TestCase {
'isSqliteUsed' => false,
'databaseConversionDocumentation' => 'http://docs.example.org/server/go.php?to=admin-db-conversion',
'missingIndexes' => [],
- 'isPhpMailerUsed' => false,
+ 'isPHPMailerUsed' => false,
'mailSettingsDocumentation' => 'https://server/index.php/settings/admin',
'isMemoryLimitSufficient' => true,
'appDirsWithDifferentOwner' => [],
@@ -541,7 +541,7 @@ class CheckSetupControllerTest extends TestCase {
$this->assertEquals($expected, $this->checkSetupController->check());
}
- public function testIsPhpMailerUsed() {
+ public function testIsPHPMailerUsed() {
$checkSetupController = $this->getMockBuilder('\OC\Settings\Controller\CheckSetupController')
->setConstructorArgs([
'settings',
@@ -571,8 +571,8 @@ class CheckSetupControllerTest extends TestCase {
->with('mail_smtpmode', 'smtp')
->will($this->returnValue('not-php'));
- $this->assertTrue($this->invokePrivate($checkSetupController, 'isPhpMailerUsed'));
- $this->assertFalse($this->invokePrivate($checkSetupController, 'isPhpMailerUsed'));
+ $this->assertTrue($this->invokePrivate($checkSetupController, 'isPHPMailerUsed'));
+ $this->assertFalse($this->invokePrivate($checkSetupController, 'isPHPMailerUsed'));
}
public function testGetCurlVersion() {