aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/auth_provider.php
blob: a576ef6b67d7540dcd1f94f749c5eafa46b16fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 *
 * @package testing
 * @copyright (c) 2013 phpBB Group
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
 *
 */

/**
 * Mock auth provider class with basic functions to help test sessions.
 */
class phpbb_mock_auth_provider extends phpbb_auth_provider_base
{
	public function login($username, $password)
	{
		return array(
			'status' => "",
			'error_msg' => "",
			'user_row' => "",
		);
	}
}