aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/feed_test.php
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-06-14 15:36:36 -0700
committerCesar G <prototech91@gmail.com>2014-07-04 01:22:32 -0700
commitd95c97c3b4bd3f6efbdf3b457e6f9377fed640d3 (patch)
tree95c75df9797da1734c4a53a37065b699070f5b77 /tests/functional/feed_test.php
parentddf3ab323bb0cd45063917e6cd0c54a37eef5d6e (diff)
downloadforums-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/feed_test.php')
-rw-r--r--tests/functional/feed_test.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/functional/feed_test.php b/tests/functional/feed_test.php
index a474ecf27f..7aa2d0da7d 100644
--- a/tests/functional/feed_test.php
+++ b/tests/functional/feed_test.php
@@ -619,12 +619,8 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
),
));
- $crawler = self::request('GET', "viewtopic.php?t={$this->data['topics']['Feeds #1 - Topic #2']}&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']['Feeds #1 - Topic #2'], 'DELETE_TOPIC');
$this->assertContainsLang('DELETE_PERMANENTLY', $crawler->text());
$this->add_lang('mcp');