1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 15:01:33 +02:00

[ticket/11832] Make $phpbb_container a global initiated by the framework

Setup common items needed from the container (e.g. filesystem)

PHPBB3-11832
This commit is contained in:
Nathan Guse
2013-09-09 18:47:25 -05:00
parent 289bc2a411
commit 5e09afa0bc
5 changed files with 27 additions and 11 deletions

View File

@@ -27,10 +27,7 @@ class phpbb_acp_board_select_auth_method_test extends phpbb_test_case
{
parent::setUp();
global $phpbb_container;
$phpbb_container = new phpbb_mock_container_builder();
$phpbb_container->set('auth.provider_collection', array(
$this->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,
));