Ejemplo n.º 1
0
 /**
  * test create trash on the fly
  */
 public function testCreateTrashOnTheFly()
 {
     // set another trash folder
     $this->_account->trash_folder = 'newtrash';
     $this->_foldersToDelete[] = 'newtrash';
     $accountBackend = new Felamimail_Backend_Account();
     $account = $accountBackend->update($this->_account);
     $newtrash = $this->_controller->getSystemFolder($account, Felamimail_Model_Folder::FOLDER_TRASH);
 }
 /**
  * test create trash on the fly
  */
 public function testCreateTrashOnTheFly()
 {
     // make sure that the delimiter is correct / fetched from server
     $capabilities = $this->_controller->updateCapabilities($this->_account);
     // set another trash folder
     $this->_account->trash_folder = 'newtrash';
     $this->_foldersToDelete[] = 'newtrash';
     $accountBackend = new Felamimail_Backend_Account();
     $account = $accountBackend->update($this->_account);
     $newtrash = $this->_controller->getSystemFolder($account, Felamimail_Model_Folder::FOLDER_TRASH);
 }