mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/16138] Fix typo in visibility_reapprove_test
PHPBB3-16138
This commit is contained in:
parent
b734fed853
commit
d05abc0807
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ class phpbb_functional_visibility_reapprove_test extends phpbb_functional_test_c
|
||||||
|
|
||||||
$link = $crawler->selectLink($this->lang('RETURN_PAGE', '', ''))->link();
|
$link = $crawler->selectLink($this->lang('RETURN_PAGE', '', ''))->link();
|
||||||
$link_url = $link->getUri();
|
$link_url = $link->getUri();
|
||||||
$this->assertStringContainsString('viewtopic.php?t=' . $this->data['topic']['Reapprove Test Topic #2'], $link_url);
|
$this->assertStringContainsString('viewtopic.php?t=' . $this->data['topics']['Reapprove Test Topic #2'], $link_url);
|
||||||
|
|
||||||
$crawler = self::request('GET', "viewtopic.php?t={$this->data['topics']['Reapprove Test Topic #2']}&sid={$this->sid}");
|
$crawler = self::request('GET', "viewtopic.php?t={$this->data['topics']['Reapprove Test Topic #2']}&sid={$this->sid}");
|
||||||
$this->assertStringContainsString('Reapprove Test Topic #2', $crawler->filter('h2')->text());
|
$this->assertStringContainsString('Reapprove Test Topic #2', $crawler->filter('h2')->text());
|
||||||
|
|
Loading…
Add table
Reference in a new issue