mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-26 03:38:47 +02:00
Added tests on some security related classes.
This commit is contained in:
parent
6ddc937ec5
commit
bf8455fa42
6 changed files with 169 additions and 38 deletions
|
@ -30,11 +30,9 @@ use Symfony\Contracts\Translation\TranslatorInterface;
|
|||
|
||||
class UserChecker implements UserCheckerInterface
|
||||
{
|
||||
protected $translator;
|
||||
|
||||
public function __construct(TranslatorInterface $translator)
|
||||
public function __construct()
|
||||
{
|
||||
$this->translator = $translator;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue