1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-19 07:08:09 +01: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:
Joas Schilling 2014-04-13 22:42:45 +02:00
commit 3ce479f061

View File

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