diff options
Diffstat (limited to 'tests/lib/Comments/FakeFactory.php')
-rw-r--r-- | tests/lib/Comments/FakeFactory.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/lib/Comments/FakeFactory.php b/tests/lib/Comments/FakeFactory.php new file mode 100644 index 00000000000..0c3241078d7 --- /dev/null +++ b/tests/lib/Comments/FakeFactory.php @@ -0,0 +1,23 @@ +<?php + +/** + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only + */ +namespace Test\Comments; + +use OCP\Comments\ICommentsManagerFactory; +use OCP\IServerContainer; + +/** + * Class FakeFactory + */ +class FakeFactory implements ICommentsManagerFactory { + public function __construct(IServerContainer $serverContainer) { + } + + public function getManager() { + return new FakeManager(); + } +} |