diff options
author | Cesar G <prototech91@gmail.com> | 2014-06-14 15:36:36 -0700 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2014-07-04 01:22:32 -0700 |
commit | d95c97c3b4bd3f6efbdf3b457e6f9377fed640d3 (patch) | |
tree | 95c75df9797da1734c4a53a37065b699070f5b77 /tests/functional/download_test.php | |
parent | ddf3ab323bb0cd45063917e6cd0c54a37eef5d6e (diff) | |
download | forums-d95c97c3b4bd3f6efbdf3b457e6f9377fed640d3.tar forums-d95c97c3b4bd3f6efbdf3b457e6f9377fed640d3.tar.gz forums-d95c97c3b4bd3f6efbdf3b457e6f9377fed640d3.tar.bz2 forums-d95c97c3b4bd3f6efbdf3b457e6f9377fed640d3.tar.xz forums-d95c97c3b4bd3f6efbdf3b457e6f9377fed640d3.zip |
[ticket/12013] Fix functional tests and sniffer issue.
PHPBB3-12013
Diffstat (limited to 'tests/functional/download_test.php')
-rw-r--r-- | tests/functional/download_test.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/functional/download_test.php b/tests/functional/download_test.php index dbf197fcfa..6a6df14c81 100644 --- a/tests/functional/download_test.php +++ b/tests/functional/download_test.php @@ -205,12 +205,8 @@ class phpbb_functional_download_test extends phpbb_functional_test_case ), )); - $crawler = self::request('GET', "viewtopic.php?t={$this->data['topics']['Download Topic #1']}&sid={$this->sid}"); - $this->add_lang('posting'); - $form = $crawler->selectButton('Go')->eq(2)->form(); - $form['action']->select('delete_topic'); - $crawler = self::submit($form); + $crawler = $this->get_quickmod_page($this->data['topics']['Download Topic #1'], 'DELETE_TOPIC'); $this->assertContainsLang('DELETE_PERMANENTLY', $crawler->text()); $this->add_lang('mcp'); |