Merge "Localisation updates from https://translatewiki.net."
authorTranslation updater bot <l10n-bot@translatewiki.net>
Sat, 3 Oct 2015 19:55:56 +0000 (19:55 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 3 Oct 2015 19:55:56 +0000 (19:55 +0000)
tests/phpunit/includes/libs/ObjectFactoryTest.php

index aea037e..577dc3c 100644 (file)
@@ -25,7 +25,7 @@ class ObjectFactoryTest extends PHPUnit_Framework_TestCase {
         */
        public function testClosureExpansionDisabled() {
                $obj = ObjectFactory::getObjectFromSpec( array(
-                       'class' => 'ObjectFactoryTest_Fixture',
+                       'class' => 'ObjectFactoryTestFixture',
                        'args' => array( function() {
                                return 'unwrapped';
                        }, ),
@@ -47,7 +47,7 @@ class ObjectFactoryTest extends PHPUnit_Framework_TestCase {
         */
        public function testClosureExpansionEnabled() {
                $obj = ObjectFactory::getObjectFromSpec( array(
-                       'class' => 'ObjectFactoryTest_Fixture',
+                       'class' => 'ObjectFactoryTestFixture',
                        'args' => array( function() {
                                return 'unwrapped';
                        }, ),
@@ -64,7 +64,7 @@ class ObjectFactoryTest extends PHPUnit_Framework_TestCase {
                $this->assertSame( 'unwrapped', $obj->setterArgs[0] );
 
                $obj = ObjectFactory::getObjectFromSpec( array(
-                       'class' => 'ObjectFactoryTest_Fixture',
+                       'class' => 'ObjectFactoryTestFixture',
                        'args' => array( function() {
                                return 'unwrapped';
                        }, ),
@@ -81,7 +81,7 @@ class ObjectFactoryTest extends PHPUnit_Framework_TestCase {
        }
 }
 
-class ObjectFactoryTest_Fixture {
+class ObjectFactoryTestFixture {
        public $args;
        public $setterArgs;
        public function __construct( /*...*/ ) {