diff options
author | Fyorl <gaelreth@gmail.com> | 2012-07-09 00:10:41 +0100 |
---|---|---|
committer | Fyorl <gaelreth@gmail.com> | 2012-07-09 14:08:20 +0100 |
commit | 9f3a02d4755409407a26bf75324ac0a8a15d87e2 (patch) | |
tree | aaddabf710fe6b716fb1537d2046ebf2cc792f8c /tests/functional/fileupload_test_form.php | |
parent | 580cec619b399f710aedc1d3c2dd92c2287ebaff (diff) | |
download | forums-9f3a02d4755409407a26bf75324ac0a8a15d87e2.tar forums-9f3a02d4755409407a26bf75324ac0a8a15d87e2.tar.gz forums-9f3a02d4755409407a26bf75324ac0a8a15d87e2.tar.bz2 forums-9f3a02d4755409407a26bf75324ac0a8a15d87e2.tar.xz forums-9f3a02d4755409407a26bf75324ac0a8a15d87e2.zip |
[ticket/10941] Removed manual includes of mock classes
Also marked a test as incomplete even though this appears to be
ignored when actually running the tests.
PHPBB3-10941
Diffstat (limited to 'tests/functional/fileupload_test_form.php')
-rw-r--r-- | tests/functional/fileupload_test_form.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/functional/fileupload_test_form.php b/tests/functional/fileupload_test_form.php index 48fa75ca4b..87979e6a68 100644 --- a/tests/functional/fileupload_test_form.php +++ b/tests/functional/fileupload_test_form.php @@ -43,11 +43,12 @@ class phpbb_functional_fileupload_test_form extends phpbb_functional_test_case { // Cannot be tested by an admin account which this functional framework // provides - /*$crawler = $this->request('GET', 'posting.php?mode=reply&f=2&t=1&sid=' . $this->sid); + $this->markTestIncomplete(); + $crawler = $this->request('GET', 'posting.php?mode=reply&f=2&t=1&sid=' . $this->sid); $form = $crawler->selectButton('add_file')->form(); $form['fileupload']->upload($path . 'too-large.png'); $crawler = $this->client->submit($form); - $this->assertEquals(1, $crawler->filter('div#message')->count());*/ + $this->assertEquals(1, $crawler->filter('div#message')->count()); } public function test_valid_file() |