/** * setUp */ public function setUp() { parent::setUp(); $this->_setupPaths(); $this->Oven = ClassRegistry::init('Oven.Oven'); $this->Oven->appPath = App::pluginPath('Oven') . 'Test' . DS . 'test_app' . DS; }
/** * setUp */ public function setUp() { parent::setUp(); $this->_setupPaths(); $this->Init = new Init(); $this->Init->appPath = App::pluginPath('Oven') . 'Test' . DS . 'test_app' . DS; }
/** * setUp */ public function setUp() { parent::setUp(); $this->_setupPaths(); $appPath = App::pluginPath('Oven') . 'Test' . DS . 'test_app' . DS; $config = array('recipe' => array('pages' => array('schema' => array('title' => array(), 'body' => array('type' => 'ckeditor'), 'slug' => array('type' => 'slug'), 'image' => array('type' => 'file')))), 'config' => array('upload_location' => $appPath . 'webroot' . DS . 'files' . DS)); new OvenConfig($config); $this->Oven = ClassRegistry::init('Oven.Oven'); $this->Oven->appPath = $appPath; $this->Oven->bake($config); App::uses('Page', 'Model'); $this->Page = ClassRegistry::init('Page'); new OvenConfig($config); }
/** * setUp */ public function setUp() { parent::setUp(); $this->_setupPaths(); }
/** * setUp */ public function setUp() { parent::setUp(); $this->path = App::pluginPath('Oven') . 'Test' . DS . 'test_app' . DS . 'Config' . DS; }