mediawiki-extensions-OATHAuth/tests/phpunit/Auth/TOTPAuthenticationRequestTest.php
Umherirrender 56e062512d Use namespaced classes
Changes to the use statements done automatically via script

Change-Id: Ib56dd5248012dfdc3490aa82bb00f66f20ae1c84
2024-06-09 18:58:24 +02:00

24 lines
604 B
PHP

<?php
namespace MediaWiki\Extension\OATHAuth\Tests\Auth;
use MediaWiki\Extension\OATHAuth\Auth\TOTPAuthenticationRequest;
use MediaWiki\Tests\Auth\AuthenticationRequestTestCase;
/**
* @covers \MediaWiki\Extension\OATHAuth\Auth\TOTPAuthenticationRequest
*/
class TOTPAuthenticationRequestTest extends AuthenticationRequestTestCase {
protected function getInstance( array $args = [] ) {
return new TOTPAuthenticationRequest();
}
public static function provideLoadFromSubmission() {
return [
[ [], [], false ],
[ [], [ 'OATHToken' => '123456' ], [ 'OATHToken' => '123456' ] ],
];
}
}