mirror of
https://github.com/hauke68/Magallanes.git
synced 2025-08-26 13:20:17 +02:00
test using optional parameters
This commit is contained in:
parent
57fe5b6d52
commit
4c4d76bd2d
@ -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 New Issue
Block a user