1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 02:06:32 +02:00

[ticket/12013] Fix functional tests and sniffer issue.

PHPBB3-12013
This commit is contained in:
Cesar G
2014-06-14 15:36:36 -07:00
parent ddf3ab323b
commit d95c97c3b4
7 changed files with 42 additions and 65 deletions

View File

@@ -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');