1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 18:26:32 +02:00

[ticket/17191] Remove invalid/unused code from tests

PHPBB3-17191
This commit is contained in:
Marc Alexander
2023-10-04 21:50:30 +02:00
parent dc9ef40669
commit 4ed18355e9
2 changed files with 1 additions and 5 deletions

View File

@@ -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

View File

@@ -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');;