문제

I wonder how could I use the cake bake all command without filling the Test folder.

Because I'm getting an error, when I use this command :

Fatal Error Error: Call to undefined method App::getAssociated() in [C:\wamp\www
\myAppFolder\lib\Cake\Console\Command\Task\TestTask.php, line 394]

Everything works except Test baking, so cake bake all bakes Controller & Model but it fails when baking Test before baking Views...

In my job, we don't have time to care about Tests so if someone knows a way to block the test baking... would be a lot helpful !

EDIT :

If someone knows a way to fix the Fatal Error instead... Hint : I have this issue since I installed PHPUnit.

올바른 솔루션이 없습니다

다른 팁

"All" means "all". Did you look at the documentation?

To bake the views run

cake bake view

You can script any or all of these:

cake bake db_config
cake bake model
cake bake view
cake bake controller
cake bake project
cake bake fixture
cake bake test
cake bake plugin plugin_name

Or use the interactive shell.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top