mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-15 20:15:04 +02:00
Remove "covers" annotations for static methods
This commit is contained in:
parent
8bd7f6c56c
commit
5207b29958
|
@ -20,9 +20,6 @@ class FactoryTest extends PHPUnit_Framework_TestCase
|
||||||
$this->config = $this->getMock('Mage\Config');
|
$this->config = $this->getMock('Mage\Config');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @covers Factory::get
|
|
||||||
*/
|
|
||||||
public function testGet()
|
public function testGet()
|
||||||
{
|
{
|
||||||
$command = Factory::get('add', $this->config);
|
$command = Factory::get('add', $this->config);
|
||||||
|
@ -31,16 +28,12 @@ class FactoryTest extends PHPUnit_Framework_TestCase
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException \Exception
|
* @expectedException \Exception
|
||||||
* @covers Factory::get
|
|
||||||
*/
|
*/
|
||||||
public function testGetClassNotFoundException()
|
public function testGetClassNotFoundException()
|
||||||
{
|
{
|
||||||
$command = Factory::get('commanddoesntexist', $this->config);
|
$command = Factory::get('commanddoesntexist', $this->config);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @covers Factory::get
|
|
||||||
*/
|
|
||||||
public function testGetCustomCommand()
|
public function testGetCustomCommand()
|
||||||
{
|
{
|
||||||
$this->getMockBuilder('Mage\\Command\\AbstractCommand')
|
$this->getMockBuilder('Mage\\Command\\AbstractCommand')
|
||||||
|
@ -60,7 +53,6 @@ class FactoryTest extends PHPUnit_Framework_TestCase
|
||||||
/**
|
/**
|
||||||
* @expectedException \Exception
|
* @expectedException \Exception
|
||||||
* @expectedExceptionMessage The command MyInconsistentCommand must be an instance of Mage\Command\AbstractCommand.
|
* @expectedExceptionMessage The command MyInconsistentCommand must be an instance of Mage\Command\AbstractCommand.
|
||||||
* @covers Factory::get
|
|
||||||
*/
|
*/
|
||||||
public function testGetInconsistencyException()
|
public function testGetInconsistencyException()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue