diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-02-03 14:46:19 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-03-24 17:09:52 +0100 |
commit | 2e7a60d98638beb7d1f54273e7d3a95ac9754fff (patch) | |
tree | d50d6df4e346d823573dc5d8da5347345b1ff95e /tests/functions_user/delete_user_test.php | |
parent | 4d7cb7ca737195f42141c3939b9515cb3edd8b9b (diff) | |
download | forums-2e7a60d98638beb7d1f54273e7d3a95ac9754fff.tar forums-2e7a60d98638beb7d1f54273e7d3a95ac9754fff.tar.gz forums-2e7a60d98638beb7d1f54273e7d3a95ac9754fff.tar.bz2 forums-2e7a60d98638beb7d1f54273e7d3a95ac9754fff.tar.xz forums-2e7a60d98638beb7d1f54273e7d3a95ac9754fff.zip |
[ticket/13564] Try to unlink user account for every auth provider
PHPBB3-13564
Diffstat (limited to 'tests/functions_user/delete_user_test.php')
-rw-r--r-- | tests/functions_user/delete_user_test.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/functions_user/delete_user_test.php b/tests/functions_user/delete_user_test.php index d5c78c64ad..7db69e332c 100644 --- a/tests/functions_user/delete_user_test.php +++ b/tests/functions_user/delete_user_test.php @@ -38,6 +38,16 @@ class phpbb_functions_user_delete_user_test extends phpbb_database_test_case $phpbb_dispatcher = new phpbb_mock_event_dispatcher(); $phpbb_container = new phpbb_mock_container_builder(); $phpbb_container->set('notification_manager', new phpbb_mock_notification_manager()); + $phpbb_container->set( + 'auth.provider.db', + new phpbb_mock_auth_provider() + ); + $provider_collection = new \phpbb\auth\provider_collection($phpbb_container, $config); + $provider_collection->add('auth.provider.db'); + $phpbb_container->set( + 'auth.provider_collection', + $provider_collection + ); } public function first_last_post_data() |