IntegrationTestCase.php 806 B

12345678910111213141516171819202122
  1. <?php
  2. App::uses('ShimIntegrationTestCase', 'Shim.TestSuite');
  3. App::uses('Router', 'Routing');
  4. App::uses('Dispatcher', 'Routing');
  5. App::uses('EventManager', 'Event');
  6. App::uses('CakeSession', 'Model/Datasource');
  7. /**
  8. * A test case class intended to make integration tests of
  9. * your controllers easier.
  10. *
  11. * This class has been backported from 3.0.
  12. * Does not support cookies or non 2xx/3xx responses yet, though.
  13. *
  14. * This test class provides a number of helper methods and features
  15. * that make dispatching requests and checking their responses simpler.
  16. * It favours full integration tests over mock objects as you can test
  17. * more of your code easily and avoid some of the maintenance pitfalls
  18. * that mock objects create.
  19. */
  20. abstract class IntegrationTestCase extends ShimIntegrationTestCase {
  21. }