This is line 15 in ProgressHelperTest.php, within function setUp()
$this->Progress = new ProgressHelper($View);
On Wednesday, February 11, 2015 at 9:06:29 PM UTC-5, Lorne Dudley wrote:
>
> Testing (page 559 in the pdf version)
>
> I am attempting to follow the instructions in the 3.0.0-RC2 document,
> current as of today.
>
> I believe I have followed all of the instructions.
>
> This is my setup. (cakePHP 3.0.0-RC2, updated as of today)
>
>
> E:/web/cake3-rc2/vendor/cakephp/bake/tests/TestCase/View/Helper/ProgressHelperTest.php
>
> E:/web/cake3-rc2/vendor/cakephp/bake/src/View/Helper/ProgressHelper.php
>
> E:\web\cake3-rc2\vendor\cakephp\bake> phpunit
> E:/web/cake3-rc2/vendor/cakephp/bake/tests/TestCase/View/Helper/ProgressHelperTest.php
> PHPUnit 4.5.0 by Sebastian Bergmann and contributors.
>
> Configuration read from
> E:\web\cake3-rc2\vendor\cakephp\bake\phpunit.xml.dist
>
> Fatal error: Class 'App\View\Helper\ProgressHelper' not found in
> E:\web\cake3-rc2\vendor\cakephp\bake\tests\TestCase\View\Helper\ProgressHelperTest.php
>
> on line 15
>
> Call Stack:
> 0.0000 120448 1. {main}() C:\xampp2\php\phpunit:0
> 0.0156 355992 2. PHPUnit_TextUI_Command::main()
> C:\xampp2\php\phpunit:46
> 0.0156 359392 3. PHPUnit_TextUI_Command->run()
> C:\xampp2\php\pear\PHPUnit\TextUI\Command.php:129
> 0.0936 2429736 4. PHPUnit_TextUI_TestRunner->doRun()
> C:\xampp2\php\pear\PHPUnit\TextUI\Command.php:176
> 0.1092 2750216 5. PHPUnit_Framework_TestSuite->run()
> E:\web\cake3-rc2\vendor\phpunit\phpunit\src\TextUI\TestRunner.php:398
> 0.1092 2761344 6. PHPUnit_Framework_TestCase->run()
> E:\web\cake3-rc2\vendor\phpunit\phpunit\src\Framework\TestSuite.php:716
> 0.1092 2762088 7. PHPUnit_Framework_TestResult->run()
> E:\web\cake3-rc2\vendor\phpunit\phpunit\src\Framework\TestCase.php:693
> 0.1248 2817952 8. PHPUnit_Framework_TestCase->runBare()
> E:\web\cake3-rc2\vendor\phpunit\phpunit\src\Framework\TestResult.php:609
> 0.1248 2909168 9.
> App\Test\TestCase\View\Helper\ProgressHelperTest->setUp()
> E:\web\cake3-rc2\vendor\phpunit\phpunit\src\Framework\TestCase.php:733
>
> My question:
>
> How do I fix this so that the documented test works ?
>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.