From eca8c2a72f838c2236f41c15303bd1ab275e20d6 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sat, 3 Oct 2015 21:29:17 +0200 Subject: [PATCH] Rename ObjectFactoryTest_Fixture to camel case name Change-Id: Ib909c4f694b9774a0983abbb23bfd38ed8c05d5b --- tests/phpunit/includes/libs/ObjectFactoryTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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( /*...*/ ) { -- 2.20.1