Skip to content

Commit

Permalink
Fix 'covers' annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Turek committed May 16, 2015
1 parent 8a5f0ee commit b9cf2d1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/MageTest/Command/BuiltIn/CompileCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* @uses malkusch\phpmock\MockBuilder
* @uses Mage\Console
* @uses Mage\Console\Colors
* @uses Mage\Command\AbstractCommand
*/
class CompileCommandTest extends BaseTest
{
Expand Down
2 changes: 2 additions & 0 deletions tests/MageTest/Command/BuiltIn/ListCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public function listEnvironmentsProvider()
}

/**
* @covers ::__construct
* @covers ::run
* @covers ::listEnvironments
* @dataProvider listEnvironmentsProvider
Expand All @@ -109,6 +110,7 @@ public function testListEnvironment($environmentFiles, $expectedOutput, $expecte
}

/**
* @covers ::__construct
* @covers ::run
*/
public function testRunWithInvalidCommand()
Expand Down
1 change: 1 addition & 0 deletions tests/MageTest/Command/BuiltIn/LockCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ public function lockCommandProvider()
}

/**
* @covers ::__construct
* @covers ::run
* @dataProvider lockCommandProvider
*/
Expand Down
1 change: 1 addition & 0 deletions tests/MageTest/Command/BuiltIn/UnlockCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ function () {
}

/**
* @covers ::__construct
* @covers ::run
* @dataProvider runProvider
*/
Expand Down
6 changes: 4 additions & 2 deletions tests/MageTest/Command/BuiltIn/VersionCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@
use PHPUnit_Framework_TestCase;

/**
* @coversDefaultClass Mage\Command\BuiltIn\VersionCommands
* @coversDefaultClass Mage\Command\BuiltIn\VersionCommand
* @group Mage_Command_BuildIn_VersionCommand
* @uses Mage\Console
* @uses Mage\Console\Colors
* @uses Mage\Command\AbstractCommand
*/
class VersionCommandTest extends BaseTest
{
/**
* @group 175
* @covers Mage\Command\BuiltIn\VersionCommand::run()
* @covers ::__construct
* @covers ::run()
*/
public function testRun()
{
Expand Down

0 comments on commit b9cf2d1

Please sign in to comment.