From 3048f961a3dc71272cc602ed5417cd57dc72e0cc Mon Sep 17 00:00:00 2001 From: Aleksei Akireikin Date: Thu, 13 Jul 2017 13:00:52 +0300 Subject: [PATCH] Unit tests fixed --- tests/unit/DocBlock/Tags/DeprecatedTest.php | 1 + tests/unit/DocBlock/Tags/Formatter/AlignFormatterTest.php | 3 ++- tests/unit/DocBlock/Tags/MethodTest.php | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/unit/DocBlock/Tags/DeprecatedTest.php b/tests/unit/DocBlock/Tags/DeprecatedTest.php index 8be9ad7..f501354 100644 --- a/tests/unit/DocBlock/Tags/DeprecatedTest.php +++ b/tests/unit/DocBlock/Tags/DeprecatedTest.php @@ -158,6 +158,7 @@ class DeprecatedTest extends \PHPUnit_Framework_TestCase /** * @covers ::create + * @uses \phpDocumentor\Reflection\DocBlock\Tags\Deprecated::__construct */ public function testFactoryMethodReturnsNullIfBodyDoesNotMatchRegex() { diff --git a/tests/unit/DocBlock/Tags/Formatter/AlignFormatterTest.php b/tests/unit/DocBlock/Tags/Formatter/AlignFormatterTest.php index acf04c1..22a019b 100644 --- a/tests/unit/DocBlock/Tags/Formatter/AlignFormatterTest.php +++ b/tests/unit/DocBlock/Tags/Formatter/AlignFormatterTest.php @@ -22,10 +22,11 @@ use phpDocumentor\Reflection\Types\String_; /** * @coversDefaultClass \phpDocumentor\Reflection\DocBlock\Tags\Formatter\AlignFormatter */ -class PassthroughFormatterTest extends \PHPUnit_Framework_TestCase +class AlignFormatterTest extends \PHPUnit_Framework_TestCase { /** * @covers ::format + * @covers \phpDocumentor\Reflection\DocBlock\Tags\Formatter\AlignFormatter::__construct * @uses \phpDocumentor\Reflection\DocBlock\Description * @uses \phpDocumentor\Reflection\DocBlock\Tags\BaseTag * @uses \phpDocumentor\Reflection\DocBlock\Tags\Link diff --git a/tests/unit/DocBlock/Tags/MethodTest.php b/tests/unit/DocBlock/Tags/MethodTest.php index 5e7ec2a..dce6dfd 100644 --- a/tests/unit/DocBlock/Tags/MethodTest.php +++ b/tests/unit/DocBlock/Tags/MethodTest.php @@ -142,6 +142,9 @@ class MethodTest extends \PHPUnit_Framework_TestCase /** * @covers ::create + * @uses \phpDocumentor\Reflection\DocBlock\Tags\Method::__construct + * @uses \phpDocumentor\Reflection\DocBlock\Tags\Method::getArguments + * @uses \phpDocumentor\Reflection\DocBlock\Description */ public function testRestArgumentIsParsedAsRegularArg() {