diff --git a/tests/MageTest/Console/ColorsTest.php b/tests/MageTest/Console/ColorsTest.php
index 2aaf262..1830cc7 100644
--- a/tests/MageTest/Console/ColorsTest.php
+++ b/tests/MageTest/Console/ColorsTest.php
@@ -11,6 +11,7 @@ use PHPUnit_Framework_TestCase;
*/
class ColorsTest extends PHPUnit_Framework_TestCase
{
+ protected $noColorParameter = "no-color";
/**
* @group 159
* @covers ::color
@@ -20,7 +21,7 @@ class ColorsTest extends PHPUnit_Framework_TestCase
$config = $this->getMock('Mage\Config');
$config->expects($this->once())
->method('getParameter')
- ->with('no-color')
+ ->with($this->noColorParameter)
->will($this->returnValue(false));
$string = 'FooBar';
@@ -41,7 +42,7 @@ class ColorsTest extends PHPUnit_Framework_TestCase
$config = $this->getMock('Mage\Config');
$config->expects($this->once())
->method('getParameter')
- ->with('no-color')
+ ->with($this->noColorParameter)
->will($this->returnValue(true));
$string = 'FooBar';
@@ -62,7 +63,7 @@ class ColorsTest extends PHPUnit_Framework_TestCase
$config = $this->getMock('Mage\Config');
$config->expects($this->once())
->method('getParameter')
- ->with('no-color')
+ ->with($this->noColorParameter)
->will($this->returnValue(false));
$string = 'FooBar';