diff options
author | Fyorl <gaelreth@gmail.com> | 2012-07-09 01:18:04 +0100 |
---|---|---|
committer | Fyorl <gaelreth@gmail.com> | 2012-07-09 14:08:20 +0100 |
commit | e0b63df6a4bb7d039e414ac3548ac9fb2e3a8358 (patch) | |
tree | fad05704e6c6c4cae405e94859bd841f53898e59 /tests/functional | |
parent | 6a1c686025067bc570921bf2618415a2f284b647 (diff) | |
download | forums-e0b63df6a4bb7d039e414ac3548ac9fb2e3a8358.tar forums-e0b63df6a4bb7d039e414ac3548ac9fb2e3a8358.tar.gz forums-e0b63df6a4bb7d039e414ac3548ac9fb2e3a8358.tar.bz2 forums-e0b63df6a4bb7d039e414ac3548ac9fb2e3a8358.tar.xz forums-e0b63df6a4bb7d039e414ac3548ac9fb2e3a8358.zip |
[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
Diffstat (limited to 'tests/functional')
-rw-r--r-- | tests/functional/fileupload_form_test.php (renamed from tests/functional/fileupload_test_form.php) | 5 | ||||
-rw-r--r-- | tests/functional/fileupload_remote_test.php (renamed from tests/functional/fileupload_test_remote.php) | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/tests/functional/fileupload_test_form.php b/tests/functional/fileupload_form_test.php index 2413cd01d2..3e1ba71a71 100644 --- a/tests/functional/fileupload_test_form.php +++ b/tests/functional/fileupload_form_test.php @@ -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(); diff --git a/tests/functional/fileupload_test_remote.php b/tests/functional/fileupload_remote_test.php index ac55a078d4..0deb79acf6 100644 --- a/tests/functional/fileupload_test_remote.php +++ b/tests/functional/fileupload_remote_test.php @@ -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; |