From: umherirrender Date: Sat, 3 Oct 2015 19:29:17 +0000 (+0200) Subject: Rename ObjectFactoryTest_Fixture to camel case name X-Git-Tag: 1.31.0-rc.0~9566^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%24wgLogo?a=commitdiff_plain;h=eca8c2a72f838c2236f41c15303bd1ab275e20d6;p=lhc%2Fweb%2Fwiklou.git Rename ObjectFactoryTest_Fixture to camel case name Change-Id: Ib909c4f694b9774a0983abbb23bfd38ed8c05d5b --- diff --git a/tests/phpunit/includes/libs/ObjectFactoryTest.php b/tests/phpunit/includes/libs/ObjectFactoryTest.php index aea037e0fe..577dc3c763 100644 --- a/tests/phpunit/includes/libs/ObjectFactoryTest.php +++ b/tests/phpunit/includes/libs/ObjectFactoryTest.php @@ -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( /*...*/ ) {