mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-25 19:28:51 +02:00
Improved code style of tests
This commit is contained in:
parent
5629215ce4
commit
684334ba22
73 changed files with 196 additions and 38 deletions
|
@ -37,6 +37,7 @@ use Symfony\Component\Yaml\Yaml;
|
|||
* This class manages the permissions of users and groups.
|
||||
* Permissions are defined in the config/permissions.yaml file, and are parsed and resolved by this class using the
|
||||
* user and hierachical group PermissionData information.
|
||||
* @see \App\Tests\Services\UserSystem\PermissionManagerTest
|
||||
*/
|
||||
class PermissionManager
|
||||
{
|
||||
|
|
|
@ -25,6 +25,9 @@ use App\Entity\UserSystem\PermissionData;
|
|||
use App\Entity\UserSystem\User;
|
||||
use App\Security\Interfaces\HasPermissionsInterface;
|
||||
|
||||
/**
|
||||
* @see \App\Tests\Services\UserSystem\PermissionSchemaUpdaterTest
|
||||
*/
|
||||
class PermissionSchemaUpdater
|
||||
{
|
||||
/**
|
||||
|
|
|
@ -27,6 +27,7 @@ use RuntimeException;
|
|||
|
||||
/**
|
||||
* This class generates random backup codes for two-factor authentication.
|
||||
* @see \App\Tests\Services\UserSystem\TFA\BackupCodeGeneratorTest
|
||||
*/
|
||||
class BackupCodeGenerator
|
||||
{
|
||||
|
|
|
@ -26,6 +26,7 @@ use App\Entity\UserSystem\User;
|
|||
|
||||
/**
|
||||
* This services offers methods to manage backup codes for two-factor authentication.
|
||||
* @see \App\Tests\Services\UserSystem\TFA\BackupCodeManagerTest
|
||||
*/
|
||||
class BackupCodeManager
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue