Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- App::import('Model', 'Picture');
- class UserTestCase extends CakeTestCase {
- var $fixtures = array('app.picture');
- function startTest() {
- $this->Picture =& ClassRegistry::init('Picture');
- }
- function endTest() {
- unset($this->Picture);
- ClassRegistry::flush();
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement