test using optional parameters

This commit is contained in:
Claudio Zizza
2015-03-11 21:41:40 +01:00
committed by Claudio Zizza
parent 57fe5b6d52
commit 4c4d76bd2d
+2 -2
View File
@@ -33,9 +33,9 @@ class FactoryTest extends PHPUnit_Framework_TestCase
/** /**
* @dataProvider taskDataProvider * @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); $this->assertInstanceOf('\\Mage\\Task\\AbstractTask', $task);
} }