Improved code style of tests

This commit is contained in:
Jan Böhmer 2023-06-11 15:02:59 +02:00
parent 5629215ce4
commit 684334ba22
73 changed files with 196 additions and 38 deletions

View file

@ -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
{

View file

@ -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
{
/**

View file

@ -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
{

View file

@ -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
{