mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-24 12:18:51 +00:00
Merge remote-tracking branch 'marc/ticket/12398' into develop-ascraeus
* marc/ticket/12398: [ticket/12398] Select correct post to restore during softdelete tests
This commit is contained in:
commit
3ce479f061
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ class phpbb_functional_softdelete_test extends phpbb_functional_test_case
|
|||
$crawler = self::request('GET', "viewtopic.php?t={$this->data['topics']['Soft Delete Topic #1']}&sid={$this->sid}");
|
||||
|
||||
$this->add_lang('mcp');
|
||||
$form = $crawler->selectButton($this->lang('RESTORE'))->form();
|
||||
$form = $crawler->filter('#p' . $this->data['posts']['Soft Delete Topic #1'])->selectButton($this->lang('RESTORE'))->form();
|
||||
$crawler = self::submit($form);
|
||||
$this->assertContainsLang('RESTORE_POST', $crawler->text());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue