mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 11:13:59 +02:00
[ticket/17191] Remove invalid/unused code from tests
PHPBB3-17191
This commit is contained in:
@@ -11,9 +11,6 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use phpbb\config\config;
|
|
||||||
use phpbb\language\language_file_helper;
|
|
||||||
|
|
||||||
require_once(__DIR__ . '/../../phpBB/includes/functions_posting.php');
|
require_once(__DIR__ . '/../../phpBB/includes/functions_posting.php');
|
||||||
|
|
||||||
class phpbb_attachment_upload_test extends \phpbb_database_test_case
|
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();
|
$db = $this->new_dbal();
|
||||||
$config = new \phpbb\config\config(array());
|
$config = new \phpbb\config\config(array());
|
||||||
$lang_loader = new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx);
|
$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 = new \phpbb\language\language($lang_loader, $lang_helper, $config);
|
|
||||||
$this->request = $this->createMock('\phpbb\request\request');
|
$this->request = $this->createMock('\phpbb\request\request');
|
||||||
$this->user = new \phpbb\user($lang, '\phpbb\datetime');;
|
$this->user = new \phpbb\user($lang, '\phpbb\datetime');;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user