From: Kunal Mehta Date: Tue, 11 Nov 2014 02:03:54 +0000 (-0800) Subject: Add @covers tags to ObjectFactoryTest X-Git-Tag: 1.31.0-rc.0~13324 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=e774a8a779d48d709b54a8105677f1ec88ed71b8;p=lhc%2Fweb%2Fwiklou.git Add @covers tags to ObjectFactoryTest Change-Id: I0130b133ef8261e43082d90b08cf2b9abf64ffc9 --- diff --git a/tests/phpunit/includes/libs/ObjectFactoryTest.php b/tests/phpunit/includes/libs/ObjectFactoryTest.php index 1f88b12cf5..8c2f12c410 100644 --- a/tests/phpunit/includes/libs/ObjectFactoryTest.php +++ b/tests/phpunit/includes/libs/ObjectFactoryTest.php @@ -21,6 +21,9 @@ class ObjectFactoryTest extends PHPUnit_Framework_TestCase { + /** + * @covers ObjectFactory::getObjectFromSpec + */ public function testClosureExpansionDisabled() { $obj = ObjectFactory::getObjectFromSpec( array( 'class' => 'ObjectFactoryTest_Fixture', @@ -31,6 +34,9 @@ class ObjectFactoryTest extends PHPUnit_Framework_TestCase { $this->assertSame( 'unwrapped', $obj->args[0]() ); } + /** + * @covers ObjectFactory::getObjectFromSpec + */ public function testClosureExpansionEnabled() { $obj = ObjectFactory::getObjectFromSpec( array( 'class' => 'ObjectFactoryTest_Fixture',