diff options
author | Joas Schilling <coding@schilljs.com> | 2023-07-11 11:50:07 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-07-17 16:06:15 +0200 |
commit | 72667a667db9eadc0c2b3d2b793192a8dce7983d (patch) | |
tree | f15a032155732b01e41e38bd6a3ffce87d095b37 /apps/dav/tests | |
parent | 99aefbd75a0fea6fb722290966452f3647aa5a63 (diff) | |
download | nextcloud-server-72667a667db9eadc0c2b3d2b793192a8dce7983d.tar.gz nextcloud-server-72667a667db9eadc0c2b3d2b793192a8dce7983d.zip |
feat(dav): Emit a typed event to deprecate OCA\DAV\Connector\Sabre::addPlugin
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/tests')
-rw-r--r-- | apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php index f6aa79eb6c4..c4f8c21eae1 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php @@ -31,6 +31,7 @@ namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OC\Files\View; use OCA\DAV\Connector\Sabre\Server; use OCA\DAV\Connector\Sabre\ServerFactory; +use OCP\EventDispatcher\IEventDispatcher; use OCP\IRequest; use Psr\Log\LoggerInterface; use Sabre\HTTP\Request; @@ -70,7 +71,7 @@ abstract class RequestTestCase extends TestCase { ->disableOriginalConstructor() ->getMock(), \OC::$server->getPreviewManager(), - \OC::$server->getEventDispatcher(), + \OC::$server->get(IEventDispatcher::class), \OC::$server->getL10N('dav') ); } |