Browse Source

Fix 'covers' annotations

1.0
Jakub Turek 10 years ago
parent
commit
b9cf2d1058
  1. 1
      tests/MageTest/Command/BuiltIn/CompileCommandTest.php
  2. 2
      tests/MageTest/Command/BuiltIn/ListCommandTest.php
  3. 1
      tests/MageTest/Command/BuiltIn/LockCommandTest.php
  4. 1
      tests/MageTest/Command/BuiltIn/UnlockCommandTest.php
  5. 6
      tests/MageTest/Command/BuiltIn/VersionCommandTest.php

1
tests/MageTest/Command/BuiltIn/CompileCommandTest.php

@ -16,6 +16,7 @@ use malkusch\phpmock\MockBuilder;
* @uses malkusch\phpmock\MockBuilder
* @uses Mage\Console
* @uses Mage\Console\Colors
* @uses Mage\Command\AbstractCommand
*/
class CompileCommandTest extends BaseTest
{

2
tests/MageTest/Command/BuiltIn/ListCommandTest.php

@ -93,6 +93,7 @@ class ListCommandTest extends BaseTest
}
/**
* @covers ::__construct
* @covers ::run
* @covers ::listEnvironments
* @dataProvider listEnvironmentsProvider
@ -109,6 +110,7 @@ class ListCommandTest extends BaseTest
}
/**
* @covers ::__construct
* @covers ::run
*/
public function testRunWithInvalidCommand()

1
tests/MageTest/Command/BuiltIn/LockCommandTest.php

@ -173,6 +173,7 @@ class LockCommandTest extends BaseTest
}
/**
* @covers ::__construct
* @covers ::run
* @dataProvider lockCommandProvider
*/

1
tests/MageTest/Command/BuiltIn/UnlockCommandTest.php

@ -98,6 +98,7 @@ class UnlockCommandTest extends BaseTest
}
/**
* @covers ::__construct
* @covers ::run
* @dataProvider runProvider
*/

6
tests/MageTest/Command/BuiltIn/VersionCommandTest.php

@ -8,16 +8,18 @@ use MageTest\TestHelper\BaseTest;
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()
{

Loading…
Cancel
Save