|
|
|
@ -128,7 +128,7 @@ class SystemTagsObjectMappingCollectionTest extends \Test\TestCase { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @expectedException Sabre\DAV\Exception\PreconditionFailed |
|
|
|
* @expectedException \Sabre\DAV\Exception\PreconditionFailed |
|
|
|
*/ |
|
|
|
public function testAssignTagNotFound() { |
|
|
|
$this->tagManager->expects($this->once()) |
|
|
|
@ -140,7 +140,7 @@ class SystemTagsObjectMappingCollectionTest extends \Test\TestCase { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @expectedException Sabre\DAV\Exception\Forbidden |
|
|
|
* @expectedException \Sabre\DAV\Exception\Forbidden |
|
|
|
*/ |
|
|
|
public function testForbiddenCreateDirectory() { |
|
|
|
$this->getNode()->createDirectory('789'); |
|
|
|
@ -193,7 +193,7 @@ class SystemTagsObjectMappingCollectionTest extends \Test\TestCase { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @expectedException Sabre\DAV\Exception\NotFound |
|
|
|
* @expectedException \Sabre\DAV\Exception\NotFound |
|
|
|
*/ |
|
|
|
public function testGetChildRelationNotFound() { |
|
|
|
$this->tagMapper->expects($this->once()) |
|
|
|
@ -205,7 +205,7 @@ class SystemTagsObjectMappingCollectionTest extends \Test\TestCase { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @expectedException Sabre\DAV\Exception\BadRequest |
|
|
|
* @expectedException \Sabre\DAV\Exception\BadRequest |
|
|
|
*/ |
|
|
|
public function testGetChildInvalidId() { |
|
|
|
$this->tagMapper->expects($this->once()) |
|
|
|
@ -217,7 +217,7 @@ class SystemTagsObjectMappingCollectionTest extends \Test\TestCase { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @expectedException Sabre\DAV\Exception\NotFound |
|
|
|
* @expectedException \Sabre\DAV\Exception\NotFound |
|
|
|
*/ |
|
|
|
public function testGetChildTagDoesNotExist() { |
|
|
|
$this->tagMapper->expects($this->once()) |
|
|
|
@ -321,7 +321,7 @@ class SystemTagsObjectMappingCollectionTest extends \Test\TestCase { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @expectedException Sabre\DAV\Exception\BadRequest |
|
|
|
* @expectedException \Sabre\DAV\Exception\BadRequest |
|
|
|
*/ |
|
|
|
public function testChildExistsInvalidId() { |
|
|
|
$this->tagMapper->expects($this->once()) |
|
|
|
@ -333,14 +333,14 @@ class SystemTagsObjectMappingCollectionTest extends \Test\TestCase { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @expectedException Sabre\DAV\Exception\Forbidden |
|
|
|
* @expectedException \Sabre\DAV\Exception\Forbidden |
|
|
|
*/ |
|
|
|
public function testDelete() { |
|
|
|
$this->getNode()->delete(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @expectedException Sabre\DAV\Exception\Forbidden |
|
|
|
* @expectedException \Sabre\DAV\Exception\Forbidden |
|
|
|
*/ |
|
|
|
public function testSetName() { |
|
|
|
$this->getNode()->setName('somethingelse'); |
|
|
|
|