/** * Sets up the fixture. * This method is called before a test is executed. * * @access protected */ protected function setUp() { if (empty(Tinebase_Core::getConfig()->filesdir)) { $this->markTestSkipped('filesystem base path not found'); } Tinebase_TransactionManager::getInstance()->startTransaction(Tinebase_Core::getDb()); $this->_controller = new Tinebase_FileSystem(); $this->_basePath = '/' . Tinebase_Application::getInstance()->getApplicationByName('Tinebase')->getId() . '/folders/' . Tinebase_Model_Container::TYPE_SHARED; $this->_controller->initializeApplication(Tinebase_Application::getInstance()->getApplicationByName('Tinebase')); }