mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/10941] Renamed classes and filenames so that tests run
Also fixed some minor issues that weren't flagged before because the tests were being ignored. PHPBB3-10941
This commit is contained in:
@@ -10,12 +10,13 @@
|
||||
/**
|
||||
* @group functional
|
||||
*/
|
||||
class phpbb_functional_fileupload_test_form extends phpbb_functional_test_case
|
||||
class phpbb_functional_fileupload_form_test extends phpbb_functional_test_case
|
||||
{
|
||||
private $path;
|
||||
|
||||
protected function setUp()
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
$this->path = __DIR__ . '/fixtures/files/';
|
||||
$this->add_lang('posting');
|
||||
$this->login();
|
@@ -10,10 +10,11 @@
|
||||
/**
|
||||
* @group functional
|
||||
*/
|
||||
class phpbb_functional_fileupload_test_remote extends phpbb_functional_test_case
|
||||
class phpbb_functional_fileupload_remote_test extends phpbb_functional_test_case
|
||||
{
|
||||
protected function setUp()
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
// Only doing this within the functional framework because we need a
|
||||
// URL
|
||||
|
||||
@@ -33,7 +34,7 @@ class phpbb_functional_fileupload_test_remote extends phpbb_functional_test_case
|
||||
$user->lang = new phpbb_mock_lang();
|
||||
}
|
||||
|
||||
protected function tearDown()
|
||||
public function tearDown()
|
||||
{
|
||||
global $config, $user;
|
||||
$user = null;
|
Reference in New Issue
Block a user