899f9bd113
Added config.php option to replace the default implementation of system tag manager and system tag object mapper. Also adjusted the comments manager factory to inject the server container
18 lines
294 B
PHP
18 lines
294 B
PHP
<?php
|
|
|
|
namespace Test\Comments;
|
|
|
|
use OCP\IServerContainer;
|
|
|
|
/**
|
|
* Class FakeFactory
|
|
*/
|
|
class FakeFactory implements \OCP\Comments\ICommentsManagerFactory {
|
|
|
|
public function __construct(IServerContainer $serverContainer) {
|
|
}
|
|
|
|
public function getManager() {
|
|
return new FakeManager();
|
|
}
|
|
}
|