cleanup code
Cette révision appartient à :
Parent
5fb5c63e19
révision
0f36dc10a0
@ -18,8 +18,6 @@ namespace D3\Webauthn\Modules\Application\Model;
|
||||
use D3\TestingTools\Production\IsMockable;
|
||||
use D3\Webauthn\Application\Model\WebauthnConf;
|
||||
use Doctrine\DBAL\Driver\Exception as DoctrineDriverException;
|
||||
use Doctrine\DBAL\Driver\Mysqli\MysqliStatement;
|
||||
use Doctrine\DBAL\Driver\ResultStatement;
|
||||
use Doctrine\DBAL\Exception;
|
||||
use Doctrine\DBAL\Query\QueryBuilder;
|
||||
use Doctrine\DBAL\Statement;
|
||||
|
@ -1,14 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* https://www.d3data.de
|
||||
*
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
const D3WEBAUTHN_REQUIRE_MODCFG = false;
|
@ -448,7 +448,7 @@ class WebauthnLoginTest extends WAUnitTestCase
|
||||
* @covers \D3\Webauthn\Application\Model\WebauthnLogin::assertAuthn
|
||||
* @dataProvider canAssertAuthDataProvider
|
||||
*/
|
||||
public function canAssertAuthn($credential, $doAssert, $throwException)
|
||||
public function canAssertAuthn($doAssert, $throwException)
|
||||
{
|
||||
/** @var Webauthn|MockObject $webauthnMock */
|
||||
$webauthnMock = $this->getMockBuilder(Webauthn::class)
|
||||
@ -485,8 +485,8 @@ class WebauthnLoginTest extends WAUnitTestCase
|
||||
*/
|
||||
public function canAssertAuthDataProvider(): Generator
|
||||
{
|
||||
yield 'has credential' => ['credentialFixture', $this->atLeastOnce(), false];
|
||||
yield 'no credential' => [null, $this->never(), true];
|
||||
yield 'has credential' => [$this->atLeastOnce(), false];
|
||||
yield 'no credential' => [$this->never(), true];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user