aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/tests/Sabre/CardDAV/AbstractPluginTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/dav/tests/Sabre/CardDAV/AbstractPluginTest.php')
-rw-r--r--vendor/sabre/dav/tests/Sabre/CardDAV/AbstractPluginTest.php43
1 files changed, 0 insertions, 43 deletions
diff --git a/vendor/sabre/dav/tests/Sabre/CardDAV/AbstractPluginTest.php b/vendor/sabre/dav/tests/Sabre/CardDAV/AbstractPluginTest.php
deleted file mode 100644
index 6565fc459..000000000
--- a/vendor/sabre/dav/tests/Sabre/CardDAV/AbstractPluginTest.php
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace Sabre\CardDAV;
-
-use Sabre\DAV;
-use Sabre\DAVACL;
-use Sabre\HTTP;
-
-abstract class AbstractPluginTest extends \PHPUnit\Framework\TestCase
-{
- /**
- * @var Sabre\CardDAV\Plugin
- */
- protected $plugin;
- /**
- * @var Sabre\DAV\Server
- */
- protected $server;
- /**
- * @var Sabre\CardDAV\Backend\Mock;
- */
- protected $backend;
-
- public function setup(): void
- {
- $this->backend = new Backend\Mock();
- $principalBackend = new DAVACL\PrincipalBackend\Mock();
-
- $tree = [
- new AddressBookRoot($principalBackend, $this->backend),
- new DAVACL\PrincipalCollection($principalBackend),
- ];
-
- $this->plugin = new Plugin();
- $this->plugin->directories = ['directory'];
- $this->server = new DAV\Server($tree);
- $this->server->sapi = new HTTP\SapiMock();
- $this->server->addPlugin($this->plugin);
- $this->server->debugExceptions = true;
- }
-}