Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 5 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| phpbb_mock_auth_provider | |
0.00% |
0 / 5 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| login | |
0.00% |
0 / 5 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | /** |
| 3 | * |
| 4 | * This file is part of the phpBB Forum Software package. |
| 5 | * |
| 6 | * @copyright (c) phpBB Limited <https://www.phpbb.com> |
| 7 | * @license GNU General Public License, version 2 (GPL-2.0) |
| 8 | * |
| 9 | * For full copyright and license information, please see |
| 10 | * the docs/CREDITS.txt file. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | /** |
| 15 | * Mock auth provider class with basic functions to help test sessions. |
| 16 | */ |
| 17 | class phpbb_mock_auth_provider extends \phpbb\auth\provider\base |
| 18 | { |
| 19 | public function login($username, $password) |
| 20 | { |
| 21 | return array( |
| 22 | 'status' => "", |
| 23 | 'error_msg' => "", |
| 24 | 'user_row' => "", |
| 25 | ); |
| 26 | } |
| 27 | } |