mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Renamed progress helper files to include Shell to avoid conflicts with existing view helpers
This commit is contained in:
parent
788c57dd4b
commit
2854940693
2 changed files with 5 additions and 5 deletions
|
@ -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.
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
Loading…
Reference in a new issue