Merge "Added VirtualRESTServiceClient/VirtualRESTService classes"
[lhc/web/wiklou.git] / tests / phpunit / includes / installer / OracleInstallerTest.php
index 592500d..fdcecf9 100644 (file)
@@ -13,7 +13,7 @@ class OracleInstallerTest extends MediaWikiTestCase {
         * @dataProvider provideOracleConnectStrings
         * @covers OracleInstaller::checkConnectStringFormat
         */
-       function testCheckConnectStringFormat( $expected, $connectString, $msg = '' ) {
+       public function testCheckConnectStringFormat( $expected, $connectString, $msg = '' ) {
                $validity = $expected ? 'should be valid' : 'should NOT be valid';
                $msg = "'$connectString' ($msg) $validity.";
                $this->assertEquals( $expected,
@@ -40,7 +40,11 @@ class OracleInstallerTest extends MediaWikiTestCase {
                        array( true, 'host:1521/service:shared', 'Host, port, service and shared server type' ),
                        array( true, 'host:1521/service:dedicated', 'Host, port, service and dedicated server type' ),
                        array( true, 'host:1521/service:pooled', 'Host, port, service and pooled server type' ),
-                       array( true, 'host:1521/service:shared/instance1', 'Host, port, service, server type and instance' ),
+                       array(
+                               true,
+                               'host:1521/service:shared/instance1',
+                               'Host, port, service, server type and instance'
+                       ),
                        array( true, 'host:1521//instance1', 'Host, port and instance' ),
                );
        }