Skip to content

Commit

Permalink
Use ComponentCollection when testing components just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
shama committed Feb 12, 2012
1 parent f5950fe commit 2be8927
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions en/development/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,7 @@ set correctly by the ``adjust`` method in our component. We create the file

<?php
App::uses('Controller', 'Controller');
App::uses('ComponentCollection', 'Controller');
App::uses('PagematronComponent', 'Controller/Component');

// A fake controller to test against
Expand Down

0 comments on commit 2be8927

Please sign in to comment.