mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/11865] Add bbcodes to functional posting tests
PHPBB3-11865
This commit is contained in:
parent
8da3133238
commit
bc8c4ac270
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@ class phpbb_functional_posting_test extends phpbb_functional_test_case
|
||||||
$crawler = self::request('GET', "viewtopic.php?t={$post['topic_id']}&sid={$this->sid}");
|
$crawler = self::request('GET', "viewtopic.php?t={$post['topic_id']}&sid={$this->sid}");
|
||||||
$this->assertContains('This is a test topic posted by the testing framework.', $crawler->filter('html')->text());
|
$this->assertContains('This is a test topic posted by the testing framework.', $crawler->filter('html')->text());
|
||||||
|
|
||||||
// Test creating a reply
|
// Test creating a reply with bbcode
|
||||||
$post2 = $this->create_post(2, $post['topic_id'], 'Re: Test Topic 1', 'This is a test post posted by the testing framework.');
|
$post2 = $this->create_post(2, $post['topic_id'], 'Re: Test Topic 1', 'This is a test [b]post[/b] posted by the testing framework.');
|
||||||
|
|
||||||
$crawler = self::request('GET', "viewtopic.php?t={$post2['topic_id']}&sid={$this->sid}");
|
$crawler = self::request('GET', "viewtopic.php?t={$post2['topic_id']}&sid={$this->sid}");
|
||||||
$this->assertContains('This is a test post posted by the testing framework.', $crawler->filter('html')->text());
|
$this->assertContains('This is a test post posted by the testing framework.', $crawler->filter('html')->text());
|
||||||
|
|
Loading…
Add table
Reference in a new issue