From 4c4d76bd2d6aa815d7fb864ba86ea22b04c1807c Mon Sep 17 00:00:00 2001 From: Claudio Zizza Date: Mon, 5 Jan 2015 14:28:37 +0100 Subject: [PATCH] test using optional parameters --- tests/MageTest/Task/FactoryTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/MageTest/Task/FactoryTest.php b/tests/MageTest/Task/FactoryTest.php index 38a0620..3a4fc4a 100644 --- a/tests/MageTest/Task/FactoryTest.php +++ b/tests/MageTest/Task/FactoryTest.php @@ -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); }