diff options
author | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-11 18:21:50 -0400 |
---|---|---|
committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-11 18:22:26 -0400 |
commit | 0fbf8f8c81e2ec3eddda58498c52812cf8e4a419 (patch) | |
tree | 5b805cef263bcd8d91741ce536f1eaaa6ecee72e /tests/acp_board/select_auth_method_test.php | |
parent | c17f8a5d373e103fd397766358e3ff7fc3891192 (diff) | |
download | forums-0fbf8f8c81e2ec3eddda58498c52812cf8e4a419.tar forums-0fbf8f8c81e2ec3eddda58498c52812cf8e4a419.tar.gz forums-0fbf8f8c81e2ec3eddda58498c52812cf8e4a419.tar.bz2 forums-0fbf8f8c81e2ec3eddda58498c52812cf8e4a419.tar.xz forums-0fbf8f8c81e2ec3eddda58498c52812cf8e4a419.zip |
[feature/auth-refactor] Move test classes into separate directory
PHPBB3-9734
Diffstat (limited to 'tests/acp_board/select_auth_method_test.php')
-rw-r--r-- | tests/acp_board/select_auth_method_test.php | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/tests/acp_board/select_auth_method_test.php b/tests/acp_board/select_auth_method_test.php index f81cf19db3..922ddda1d6 100644 --- a/tests/acp_board/select_auth_method_test.php +++ b/tests/acp_board/select_auth_method_test.php @@ -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 -{ - -} |