1.3 #17

wants to merge 1 commit into

2 participants


This fixes an issue where CakeTestCase::testAction() would always include the layout, regardless if the setting return was set to either 'view' or 'contents'. Previous unit test was always succeeding because it did not correctly checked that the layout was not included when return was set to 'view'.

NOTE: This was originally pull request #12, but Mark correctly pointed out that the solution included a feature that was removed in 1.3, so I refactored the code to still fix the failing test case, but only do the appropriate fix in CakeTestCase

CakePHP member

This is a much more reasonable change I think.

CakePHP member

Looks like its been merged in, thanks for the patch :)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment