/** * Start Test callback * * @param string $method * @return void * @access public */ public function startTest($method) { parent::startTest($method); $this->Translation = AppMock::getTestModel('I18n.Translation'); $fixture = new I18nFixture(); $this->record = array('Translation' => $fixture->records[0]); }
function startTest() { parent::startTest(); $this->Sut->reset(); foreach ($this->multiPackage as $file) { touch($file); } }
/** * Start Test callback * * @param string $method * @return void * @access public */ public function startTest($method) { parent::startTest($method); $this->Translations = AppMock::getTestController('TranslationsController'); $this->Translations->constructClasses(); $this->Translations->Prg->initialize($this->Translations); $this->Translations->params = array('named' => array(), 'pass' => array(), 'url' => array()); $fixture = new I18nFixture(); $this->record = array('Translation' => $fixture->records[0]); }