diff --git a/tests/MageTest/Console/ColorsTest.php b/tests/MageTest/Console/ColorsTest.php index 2655409..51cc5bc 100644 --- a/tests/MageTest/Console/ColorsTest.php +++ b/tests/MageTest/Console/ColorsTest.php @@ -18,6 +18,7 @@ class ColorsTest extends PHPUnit_Framework_TestCase $config = $this->getMock('Mage\Config'); $config->expects($this->once()) ->method('getParameter') + ->with('no-color') ->will($this->returnValue(false)); $string = 'FooBar'; @@ -37,6 +38,7 @@ class ColorsTest extends PHPUnit_Framework_TestCase $config = $this->getMock('Mage\Config'); $config->expects($this->once()) ->method('getParameter') + ->with('no-color') ->will($this->returnValue(true)); $string = 'FooBar'; @@ -56,6 +58,7 @@ class ColorsTest extends PHPUnit_Framework_TestCase $config = $this->getMock('Mage\Config'); $config->expects($this->once()) ->method('getParameter') + ->with('no-color') ->will($this->returnValue(false)); $string = 'FooBar';