%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/wiki.varak.net/extensions/OATHAuth/tests/phpunit/
Upload File :
Create Path :
Current File : /www/varak.net/wiki.varak.net/extensions/OATHAuth/tests/phpunit/TOTPAuthenticationRequestTest.php

<?php

use MediaWiki\Auth\AuthenticationRequestTestCase;

class TOTPAuthenticationRequestTest extends AuthenticationRequestTestCase {

	protected function getInstance( array $args = [] ) {
		return new TOTPAuthenticationRequest();
	}

	public function provideLoadFromSubmission() {
		return [
			[ [], [], false ],
			[ [], [ 'OATHToken' => '123456' ], [ 'OATHToken' => '123456' ] ],
		];
	}
}

Zerion Mini Shell 1.0