public function testDispatchNoFailed() { $collection = new Mage_Cron_Model_Resource_Schedule_Collection(); $collection->addFieldToFilter('status', Mage_Cron_Model_Schedule::STATUS_ERROR); foreach ($collection as $item) { $this->fail($item->getMessages()); } }
/** * Redeclared for processing cache tags throw application object * * @return array */ protected function _getCacheTags() { $tags = parent::_getCacheTags(); $tags[] = 'SCHEDULER_SCHEDULES'; return $tags; }