diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-04-13 22:22:55 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-04-13 22:22:55 +0200 |
commit | ad1513cde9201c3e8039dd1f3ff5d4d4ca8b7e0e (patch) | |
tree | 3dfe3df71a0ee0cd1f3f9ac1978e04c858a379be /tests/functional | |
parent | cbc1c4bf3186944750ae5075b6f9c225318ab31e (diff) | |
download | forums-ad1513cde9201c3e8039dd1f3ff5d4d4ca8b7e0e.tar forums-ad1513cde9201c3e8039dd1f3ff5d4d4ca8b7e0e.tar.gz forums-ad1513cde9201c3e8039dd1f3ff5d4d4ca8b7e0e.tar.bz2 forums-ad1513cde9201c3e8039dd1f3ff5d4d4ca8b7e0e.tar.xz forums-ad1513cde9201c3e8039dd1f3ff5d4d4ca8b7e0e.zip |
[ticket/12398] Select correct post to restore during softdelete tests
PHPBB3-12398
Diffstat (limited to 'tests/functional')
-rw-r--r-- | tests/functional/softdelete_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/softdelete_test.php b/tests/functional/softdelete_test.php index dbea67db93..1c86d00b9b 100644 --- a/tests/functional/softdelete_test.php +++ b/tests/functional/softdelete_test.php @@ -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()); |