Renamed progress helper files to include Shell to avoid conflicts with existing view helpers

This commit is contained in:
Gareth Ellis 2015-12-01 13:07:32 +00:00
parent 788c57dd4b
commit 2854940693
2 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@ App::uses("ShellHelper", "Console/Helper");
/** /**
* Create a progress bar using a supplied callback. * Create a progress bar using a supplied callback.
*/ */
class ProgressHelper extends ShellHelper class ProgressShellHelper extends ShellHelper
{ {
/** /**
* The current progress. * The current progress.

View file

@ -1,13 +1,13 @@
<?php <?php
App::uses("ProgressHelper", "Console/Helper"); App::uses("ProgressShellHelper", "Console/Helper");
App::uses("ConsoleOutputStub", "TestSuite/Stub"); App::uses("ConsoleOutputStub", "TestSuite/Stub");
/** /**
* ProgressHelper test. * ProgressHelper test.
* @property ConsoleOutputStub $consoleOutput * @property ConsoleOutputStub $consoleOutput
* @property ProgressHelper $helper * @property ProgressShellHelper $helper
*/ */
class ProgressHelperTest extends CakeTestCase class ProgressShellHelperTest extends CakeTestCase
{ {
/** /**
@ -20,7 +20,7 @@ class ProgressHelperTest extends CakeTestCase
parent::setUp(); parent::setUp();
$this->consoleOutput = new ConsoleOutputStub(); $this->consoleOutput = new ConsoleOutputStub();
$this->helper = new ProgressHelper($this->consoleOutput); $this->helper = new ProgressShellHelper($this->consoleOutput);
} }
/** /**