public function testFolderTitleIsEmptyForPrivateNamespace()
{
- $this->markTestIncomplete('This expectation currently does not hold as we are not using the namespace handler yet.');
$folder = new Horde_Kolab_Storage_Folder('INBOX');
$folder->restore($this->_storage, $this->_connection, new Horde_Kolab_Storage_Namespace());
$this->assertEquals('', $folder->getTitle());
public function testFolderTitleOfOtherUserDoesNotContainUserPrefixAndOtherUserName()
{
- $this->markTestIncomplete('This expectation currently does not hold as we are not using the namespace handler yet.');
$folder = new Horde_Kolab_Storage_Folder('user/test/his_folder');
$folder->restore($this->_storage, $this->_connection, new Horde_Kolab_Storage_Namespace());
$this->assertEquals('his_folder', $folder->getTitle());
public function testFolderOwnerIsCurrentUserIfPrefixMatchesPrivateNamespace()
{
- $this->markTestIncomplete('This expectation currently does not hold as we are not using the namespace handler yet.');
$_SESSION['horde_auth']['userId'] = 'test';
$folder = new Horde_Kolab_Storage_Folder('INBOX');
$folder->restore($this->_storage, $this->_connection, new Horde_Kolab_Storage_Namespace());