mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
4a37ad5637
As recommended by the Cookbook: http://book.cakephp.org/2.0/en/development/testing.html#testing-controllers > When testing actions that contain redirect() and other code following the redirect it is generally a good idea to return when redirecting. The reason for this, is that redirect() is mocked in testing, and does not exit like normal. And instead of your code exiting, it will continue to run code following the redirect. |
||
---|---|---|
.. | ||
Cache | ||
Config | ||
Configure | ||
Console | ||
Controller | ||
Core | ||
Error | ||
Event | ||
I18n | ||
Log | ||
Model | ||
Network | ||
Routing | ||
Test | ||
TestSuite | ||
Utility | ||
View | ||
basics.php | ||
bootstrap.php | ||
LICENSE.txt | ||
VERSION.txt |