diff options
author | Mario <mario@mariovavti.com> | 2020-05-07 15:22:25 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-05-07 15:22:25 +0000 |
commit | dbfe748d274f6843fc91a3071df7be45c4ab5b00 (patch) | |
tree | 3b59194620f319b16a88dcc2aa5bacbea1c3d188 /vendor/sabre/dav/tests/Sabre/CalDAV/Principal | |
parent | 4ee809bed6ea023ad9e2888eedd65e083d4c1e3e (diff) | |
download | volse-hubzilla-dbfe748d274f6843fc91a3071df7be45c4ab5b00.tar.gz volse-hubzilla-dbfe748d274f6843fc91a3071df7be45c4ab5b00.tar.bz2 volse-hubzilla-dbfe748d274f6843fc91a3071df7be45c4ab5b00.zip |
composer updates
Diffstat (limited to 'vendor/sabre/dav/tests/Sabre/CalDAV/Principal')
-rw-r--r-- | vendor/sabre/dav/tests/Sabre/CalDAV/Principal/ProxyReadTest.php | 8 | ||||
-rw-r--r-- | vendor/sabre/dav/tests/Sabre/CalDAV/Principal/UserTest.php | 16 |
2 files changed, 6 insertions, 18 deletions
diff --git a/vendor/sabre/dav/tests/Sabre/CalDAV/Principal/ProxyReadTest.php b/vendor/sabre/dav/tests/Sabre/CalDAV/Principal/ProxyReadTest.php index 8036635b2..95ff86fa1 100644 --- a/vendor/sabre/dav/tests/Sabre/CalDAV/Principal/ProxyReadTest.php +++ b/vendor/sabre/dav/tests/Sabre/CalDAV/Principal/ProxyReadTest.php @@ -39,20 +39,16 @@ class ProxyReadTest extends \PHPUnit\Framework\TestCase $this->assertNull($i->getLastModified()); } - /** - * @expectedException \Sabre\DAV\Exception\Forbidden - */ public function testDelete() { + $this->expectException('Sabre\DAV\Exception\Forbidden'); $i = $this->getInstance(); $i->delete(); } - /** - * @expectedException \Sabre\DAV\Exception\Forbidden - */ public function testSetName() { + $this->expectException('Sabre\DAV\Exception\Forbidden'); $i = $this->getInstance(); $i->setName('foo'); } diff --git a/vendor/sabre/dav/tests/Sabre/CalDAV/Principal/UserTest.php b/vendor/sabre/dav/tests/Sabre/CalDAV/Principal/UserTest.php index 2c690c65d..fd079acb2 100644 --- a/vendor/sabre/dav/tests/Sabre/CalDAV/Principal/UserTest.php +++ b/vendor/sabre/dav/tests/Sabre/CalDAV/Principal/UserTest.php @@ -26,20 +26,16 @@ class UserTest extends \PHPUnit\Framework\TestCase ]); } - /** - * @expectedException \Sabre\DAV\Exception\Forbidden - */ public function testCreateFile() { + $this->expectException('Sabre\DAV\Exception\Forbidden'); $u = $this->getInstance(); $u->createFile('test'); } - /** - * @expectedException \Sabre\DAV\Exception\Forbidden - */ public function testCreateDirectory() { + $this->expectException('Sabre\DAV\Exception\Forbidden'); $u = $this->getInstance(); $u->createDirectory('test'); } @@ -58,20 +54,16 @@ class UserTest extends \PHPUnit\Framework\TestCase $this->assertInstanceOf('Sabre\\CalDAV\\Principal\\ProxyWrite', $child); } - /** - * @expectedException \Sabre\DAV\Exception\NotFound - */ public function testGetChildNotFound() { + $this->expectException('Sabre\DAV\Exception\NotFound'); $u = $this->getInstance(); $child = $u->getChild('foo'); } - /** - * @expectedException \Sabre\DAV\Exception\NotFound - */ public function testGetChildNotFound2() { + $this->expectException('Sabre\DAV\Exception\NotFound'); $u = $this->getInstance(); $child = $u->getChild('random'); } |