Cette révision appartient à :
Daniel Seifert 2023-01-30 09:20:55 +01:00
Parent 5fb5c63e19
révision 0f36dc10a0
Signé par: DanielS
ID de la clé GPG: 8A7C4C6ED1915C6F
3 fichiers modifiés avec 3 ajouts et 19 suppressions

Voir le fichier

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

Voir le fichier

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

Voir le fichier

@ -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];
}
/**