diff options
Diffstat (limited to 'apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php')
-rw-r--r-- | apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php b/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php index 926c652b77e..bd4afe9fb10 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php @@ -144,10 +144,10 @@ class SystemTagMappingNodeTest extends \Test\TestCase { $this->assertInstanceOf($expectedException, $thrown); } - /** - * @expectedException \Sabre\DAV\Exception\NotFound - */ + public function testDeleteTagNotFound() { + $this->expectException(\Sabre\DAV\Exception\NotFound::class); + // assuming the tag existed at the time the node was created, // but got deleted concurrently in the database $tag = new SystemTag(1, 'Test', true, true); |