mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 18:26:32 +02:00
[feature/auth-refactor] Move test classes into separate directory
PHPBB3-9734
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
*/
|
||||
|
||||
require_once dirname(__FILE__).'/../../phpBB/includes/acp/acp_board.php';
|
||||
require_once dirname(__FILE__).'/auth_provider/invalid.php';
|
||||
require_once dirname(__FILE__).'/auth_provider/valid.php';
|
||||
|
||||
class phpbb_acp_board_select_auth_method_test extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
@@ -28,16 +30,3 @@ class phpbb_acp_board_select_auth_method_test extends PHPUnit_Framework_TestCase
|
||||
$this->assertEquals($expected, $acp_board->select_auth_method('acp_board_valid'));
|
||||
}
|
||||
}
|
||||
|
||||
class phpbb_auth_provider_acp_board_valid extends phpbb_auth_provider_base
|
||||
{
|
||||
public function login($username, $password)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
class phpbb_auth_provider_acp_board_invalid
|
||||
{
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user