4.7.6.3 Pitfalls
If you use testAction to test a method in a controller that does a redirect, your test will terminate immediately, not yielding any results.
See https://trac.cakephp.org/ticket/4154 for a possible fix.
If you use testAction to test a method in a controller that does a redirect, your test will terminate immediately, not yielding any results.
See https://trac.cakephp.org/ticket/4154 for a possible fix.