mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-05 01:39:33 +00:00
Fixed code style.
This commit is contained in:
parent
1aed1d1d26
commit
9a7223a301
142 changed files with 534 additions and 716 deletions
|
|
@ -27,7 +27,7 @@ use PHPUnit\Framework\TestCase;
|
|||
class BackupCodeGeneratorTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* Test if an exception is thrown if you are using a too high code length
|
||||
* Test if an exception is thrown if you are using a too high code length.
|
||||
*/
|
||||
public function testLengthUpperLimit()
|
||||
{
|
||||
|
|
@ -36,7 +36,7 @@ class BackupCodeGeneratorTest extends TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* Test if an exception is thrown if you are using a too high code length
|
||||
* Test if an exception is thrown if you are using a too high code length.
|
||||
*/
|
||||
public function testLengthLowerLimit()
|
||||
{
|
||||
|
|
@ -44,7 +44,6 @@ class BackupCodeGeneratorTest extends TestCase
|
|||
new BackupCodeGenerator(4, 10);
|
||||
}
|
||||
|
||||
|
||||
public function codeLengthDataProvider()
|
||||
{
|
||||
return [[6], [8], [10], [16]];
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
namespace App\Tests\Services\TFA;
|
||||
|
||||
use App\Entity\UserSystem\U2FKey;
|
||||
use App\Entity\UserSystem\User;
|
||||
use App\Services\TFA\BackupCodeManager;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
|
|
@ -29,7 +28,7 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
|||
class BackupCodeManagerTest extends WebTestCase
|
||||
{
|
||||
/**
|
||||
* @var BackupCodeManager $service
|
||||
* @var BackupCodeManager
|
||||
*/
|
||||
protected $service;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue