mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-08 08:42:14 +02:00
test using optional parameters
This commit is contained in:
parent
61964952c0
commit
7789e0d713
|
@ -33,9 +33,9 @@ class FactoryTest extends PHPUnit_Framework_TestCase
|
|||
/**
|
||||
* @dataProvider taskDataProvider
|
||||
*/
|
||||
public function testGetWith($taskData)
|
||||
public function testGetWithOptionalParams($taskData)
|
||||
{
|
||||
$task = Factory::get($taskData, $this->config);
|
||||
$task = Factory::get($taskData, $this->config, true, 'production');
|
||||
$this->assertInstanceOf('\\Mage\\Task\\AbstractTask', $task);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue