Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. <?php
  2.  
  3. App::import('Model', 'Picture');
  4.  
  5. class UserTestCase extends CakeTestCase {
  6. var $fixtures = array('app.picture');
  7.  
  8. function startTest() {
  9. $this->Picture =& ClassRegistry::init('Picture');
  10. }
  11.  
  12. function endTest() {
  13. unset($this->Picture);
  14. ClassRegistry::flush();
  15. }
  16. }
  17.  
  18. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement