Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Controller to use MergeVariablesTrait
Remove a test case that handled the many edge cases with controller merge vars as those cases should be covered by tests for the trait now.
- Loading branch information
Showing
5 changed files
with
38 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,5 +23,4 @@ | |
*/ | ||
class CommentsController extends AppController { | ||
|
||
protected $_mergeParent = 'ControllerTestAppController'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
171 changes: 0 additions & 171 deletions
171
lib/Cake/Test/TestCase/Controller/ControllerMergeVarsTest.php
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.