1.3 #17

Closed
wants to merge 1 commit into
from

2 participants

@mariano

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

@markstory
CakePHP member

This is a much more reasonable change I think.

@markstory
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