mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 03:18:52 +00:00
[ticket/11040] Use hard delete in delete_topic
PHPBB3-11040
This commit is contained in:
parent
556c7d9218
commit
799c575990
1 changed files with 2 additions and 0 deletions
|
@ -1001,6 +1001,7 @@ class phpbb_functional_test_case extends phpbb_test_case
|
|||
|
||||
$this->add_lang('mcp');
|
||||
$form = $crawler->selectButton('Yes')->form();
|
||||
$form['delete_permanent'] = 1;
|
||||
$crawler = self::submit($form);
|
||||
$this->assertContainsLang('TOPIC_DELETED_SUCCESS', $crawler->text());
|
||||
}
|
||||
|
@ -1021,6 +1022,7 @@ class phpbb_functional_test_case extends phpbb_test_case
|
|||
$this->assertContainsLang('DELETE_PERMANENTLY', $crawler->text());
|
||||
|
||||
$form = $crawler->selectButton('Yes')->form();
|
||||
$form['delete_permanent'] = 1;
|
||||
$crawler = self::submit($form);
|
||||
$this->assertContainsLang('POST_DELETED', $crawler->text());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue