mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-16 14:39:37 +00:00
Ran rector and made tests final
This commit is contained in:
parent
43d72faf48
commit
b21d294cf8
162 changed files with 407 additions and 393 deletions
|
|
@ -25,7 +25,7 @@ namespace App\Tests\Entity\UserSystem;
|
|||
use App\Entity\UserSystem\ApiTokenType;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class ApiTokenTypeTest extends TestCase
|
||||
final class ApiTokenTypeTest extends TestCase
|
||||
{
|
||||
|
||||
public function testGetTokenPrefix(): void
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace App\Tests\Entity\UserSystem;
|
|||
use App\Entity\UserSystem\PermissionData;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class PermissionDataTest extends TestCase
|
||||
final class PermissionDataTest extends TestCase
|
||||
{
|
||||
|
||||
public function testGetSetIs(): void
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ use PHPUnit\Framework\TestCase;
|
|||
use Symfony\Component\Uid\Uuid;
|
||||
use Webauthn\TrustPath\EmptyTrustPath;
|
||||
|
||||
class UserTest extends TestCase
|
||||
final class UserTest extends TestCase
|
||||
{
|
||||
public function testGetFullName(): void
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue