From 85e6cbc87a9769bb603e081fee0b4e59a45cf3d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 8 Dec 2020 16:52:34 +0100 Subject: [PATCH] Extend dummy factory in tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- tests/lib/Share20/ManagerTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php index 65313858c01..efae909b99f 100644 --- a/tests/lib/Share20/ManagerTest.php +++ b/tests/lib/Share20/ManagerTest.php @@ -4362,6 +4362,9 @@ class DummyFactory implements IProviderFactory { public function getAllProviders() { return [$this->provider]; } + + public function registerProvider(string $shareProvier): void { + } } class DummyFactory2 extends DummyFactory { @@ -4378,4 +4381,7 @@ class DummyFactory2 extends DummyFactory { public function getAllProviders() { return [$this->provider, $this->provider2]; } + + public function registerProvider(string $shareProvier): void { + } }