mirror of https://github.com/sualko/cloud_bbb
fix: unit test with groupManager
Signed-off-by: Sebastien Marinier <sebastien.marinier@arawa.fr>pull/295/head
parent
da0cc79b9e
commit
ab80d613e7
|
@ -12,7 +12,15 @@ use OCP\AppFramework\Db\MultipleObjectsReturnedException;
|
||||||
use OCP\IGroupManager;
|
use OCP\IGroupManager;
|
||||||
|
|
||||||
class RestrictionService {
|
class RestrictionService {
|
||||||
public function __construct(private RestrictionMapper $mapper, private IGroupManager $groupManager) {
|
/** @var RestrictionMapper */
|
||||||
|
private $mapper;
|
||||||
|
|
||||||
|
/** @var IGroupManager */
|
||||||
|
private $groupManager;
|
||||||
|
|
||||||
|
public function __construct(RestrictionMapper $mapper, IGroupManager $groupManager) {
|
||||||
|
$this->mapper = $mapper;
|
||||||
|
$this->groupManager = $groupManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function findAll(): array {
|
public function findAll(): array {
|
||||||
|
|
Loading…
Reference in New Issue