mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17191] Remove invalid/unused code from tests
PHPBB3-17191
This commit is contained in:
parent
dc9ef40669
commit
4ed18355e9
2 changed files with 1 additions and 5 deletions
|
@ -11,9 +11,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
use phpbb\config\config;
|
||||
use phpbb\language\language_file_helper;
|
||||
|
||||
require_once(__DIR__ . '/../../phpBB/includes/functions_posting.php');
|
||||
|
||||
class phpbb_attachment_upload_test extends \phpbb_database_test_case
|
||||
|
|
|
@ -31,8 +31,7 @@ class phpbb_auth_provider_apache_test extends phpbb_database_test_case
|
|||
$db = $this->new_dbal();
|
||||
$config = new \phpbb\config\config(array());
|
||||
$lang_loader = new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx);
|
||||
$lang_helper = new \phpbb\language\language_file_helper($phpbb_root_path, $config);
|
||||
$lang = new \phpbb\language\language($lang_loader, $lang_helper, $config);
|
||||
$lang = new \phpbb\language\language($lang_loader);
|
||||
$this->request = $this->createMock('\phpbb\request\request');
|
||||
$this->user = new \phpbb\user($lang, '\phpbb\datetime');;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue