aboutsummaryrefslogtreecommitdiffstats
path: root/tests/acp_board
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-07-11 18:26:39 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-07-11 18:26:57 -0400
commit4bd676e4aedd6bc0737781a61bbc6d8dc0b26809 (patch)
treea842d095c224d6cb475f3aaabfd2fbeb78acb1fe /tests/acp_board
parent8b2ca35b54e1678c443082b8945a393fb5d58e35 (diff)
downloadforums-4bd676e4aedd6bc0737781a61bbc6d8dc0b26809.tar
forums-4bd676e4aedd6bc0737781a61bbc6d8dc0b26809.tar.gz
forums-4bd676e4aedd6bc0737781a61bbc6d8dc0b26809.tar.bz2
forums-4bd676e4aedd6bc0737781a61bbc6d8dc0b26809.tar.xz
forums-4bd676e4aedd6bc0737781a61bbc6d8dc0b26809.zip
[feature/auth-refactor] Test selecting invalid provider as well
PHPBB3-9734
Diffstat (limited to 'tests/acp_board')
-rw-r--r--tests/acp_board/select_auth_method_test.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/acp_board/select_auth_method_test.php b/tests/acp_board/select_auth_method_test.php
index 8453ec6b3b..d93522d93a 100644
--- a/tests/acp_board/select_auth_method_test.php
+++ b/tests/acp_board/select_auth_method_test.php
@@ -21,12 +21,14 @@ class phpbb_acp_board_select_auth_method_test extends PHPUnit_Framework_TestCase
$phpbb_container->set('auth.provider_collection', array(
'auth.provider.acp_board_valid' => new phpbb_auth_provider_acp_board_valid,
'auth.provider.acp_board_invalid' => new phpbb_auth_provider_acp_board_invalid,
- )
- );
+ ));
$acp_board = new acp_board();
$expected = '<option value="acp_board_valid" selected="selected">Acp_board_valid</option>';
$this->assertEquals($expected, $acp_board->select_auth_method('acp_board_valid'));
+
+ $expected = '<option value="acp_board_valid">Acp_board_valid</option>';
+ $this->assertEquals($expected, $acp_board->select_auth_method('acp_board_invalid'));
}
}