diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2013-09-01 00:34:04 +0200 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2013-09-01 00:34:04 +0200 |
| commit | ba3786d3b452bd7052a7d70231660ab07bac6ed4 (patch) | |
| tree | 5100617b5e8c3a456dfca5e36444f0f276cb123f /tests/mock | |
| parent | 9d6370751f1b998e3da448e16c1446b33ddd17d0 (diff) | |
| parent | d204cdeee0de5668961531c2db88c1b749c290ed (diff) | |
| download | forums-ba3786d3b452bd7052a7d70231660ab07bac6ed4.tar forums-ba3786d3b452bd7052a7d70231660ab07bac6ed4.tar.gz forums-ba3786d3b452bd7052a7d70231660ab07bac6ed4.tar.bz2 forums-ba3786d3b452bd7052a7d70231660ab07bac6ed4.tar.xz forums-ba3786d3b452bd7052a7d70231660ab07bac6ed4.zip | |
Merge remote-tracking branch 'Hardolaf/ticket/11813' into develop
* Hardolaf/ticket/11813:
[ticket/11813] Change mock auth provider to implement base provider
Diffstat (limited to 'tests/mock')
| -rw-r--r-- | tests/mock/auth_provider.php | 34 |
1 files changed, 2 insertions, 32 deletions
diff --git a/tests/mock/auth_provider.php b/tests/mock/auth_provider.php index 9d002334d6..a576ef6b67 100644 --- a/tests/mock/auth_provider.php +++ b/tests/mock/auth_provider.php @@ -10,14 +10,9 @@ /** * Mock auth provider class with basic functions to help test sessions. */ -class phpbb_mock_auth_provider implements phpbb_auth_provider_interface +class phpbb_mock_auth_provider extends phpbb_auth_provider_base { - function init() - { - return null; - } - - function login($username, $password) + public function login($username, $password) { return array( 'status' => "", @@ -25,29 +20,4 @@ class phpbb_mock_auth_provider implements phpbb_auth_provider_interface 'user_row' => "", ); } - - function autologin() - { - return array(); - } - - function acp() - { - return array(); - } - - function logout($data, $new_session) - { - return null; - } - - function validate_session($user) - { - return null; - } - - public function get_acp_template($new_config) - { - return null; - } } |
