From 0cd4c3410121b9b584dc1b108e555832843b2576 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 15 Feb 2021 18:35:40 +0000 Subject: compser update sabre/dav /vobject --- .../tests/Sabre/DAVACL/PrincipalCollectionTest.php | 55 ---------------------- 1 file changed, 55 deletions(-) delete mode 100644 vendor/sabre/dav/tests/Sabre/DAVACL/PrincipalCollectionTest.php (limited to 'vendor/sabre/dav/tests/Sabre/DAVACL/PrincipalCollectionTest.php') diff --git a/vendor/sabre/dav/tests/Sabre/DAVACL/PrincipalCollectionTest.php b/vendor/sabre/dav/tests/Sabre/DAVACL/PrincipalCollectionTest.php deleted file mode 100644 index 2777281a8..000000000 --- a/vendor/sabre/dav/tests/Sabre/DAVACL/PrincipalCollectionTest.php +++ /dev/null @@ -1,55 +0,0 @@ -assertTrue($pc instanceof PrincipalCollection); - - $this->assertEquals('principals', $pc->getName()); - } - - /** - * @depends testBasic - */ - public function testGetChildren() - { - $backend = new PrincipalBackend\Mock(); - $pc = new PrincipalCollection($backend); - - $children = $pc->getChildren(); - $this->assertTrue(is_array($children)); - - foreach ($children as $child) { - $this->assertTrue($child instanceof IPrincipal); - } - } - - /** - * @depends testBasic - */ - public function testGetChildrenDisable() - { - $this->expectException('Sabre\DAV\Exception\MethodNotAllowed'); - $backend = new PrincipalBackend\Mock(); - $pc = new PrincipalCollection($backend); - $pc->disableListing = true; - - $children = $pc->getChildren(); - } - - public function testFindByUri() - { - $backend = new PrincipalBackend\Mock(); - $pc = new PrincipalCollection($backend); - $this->assertEquals('principals/user1', $pc->findByUri('mailto:user1.sabredav@sabredav.org')); - $this->assertNull($pc->findByUri('mailto:fake.user.sabredav@sabredav.org')); - $this->assertNull($pc->findByUri('')); - } -} -- cgit v1.2.3