mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00: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:
parent
6a1c686025
commit
e0b63df6a4
2 changed files with 7 additions and 5 deletions
|
@ -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;
|
Loading…
Add table
Reference in a new issue