diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-12-08 16:52:34 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-12-09 13:20:25 +0100 |
commit | 85e6cbc87a9769bb603e081fee0b4e59a45cf3d1 (patch) | |
tree | 8018db1ddc9abbcf6c9a93713448361ccbd9124b /tests/lib/Share20 | |
parent | edc207b6c7acd73d20e86d4b610a5be7861423bc (diff) | |
download | nextcloud-server-85e6cbc87a9769bb603e081fee0b4e59a45cf3d1.tar.gz nextcloud-server-85e6cbc87a9769bb603e081fee0b4e59a45cf3d1.zip |
Extend dummy factory in tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests/lib/Share20')
-rw-r--r-- | tests/lib/Share20/ManagerTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
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 { + } } |