mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 20:24:08 +02:00
[feature/oauth] Merge branch 'develop' of git://github.com/phpbb/phpbb3 into feature/oauth
Conflicts: phpBB/composer.json phpBB/composer.lock phpBB/develop/create_schema_files.php phpBB/includes/ucp/ucp_register.php PHPBB3-11673
This commit is contained in:
23
tests/mock/auth_provider.php
Normal file
23
tests/mock/auth_provider.php
Normal file
@@ -0,0 +1,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' => "",
|
||||
);
|
||||
}
|
||||
}
|
@@ -58,5 +58,9 @@ class phpbb_mock_session_testable extends phpbb_session
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function setup()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user