aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-09-26 00:07:22 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-09-26 00:07:22 +0200
commitbc8c4ac27020dd51b2d24fd145e74f6be5f458d5 (patch)
tree0db5aa67df1dae3ce9856b2260bcd12209bdf6f6 /tests/functional
parent8da31332381b572f8d03c63d4c32a4f32ed8775f (diff)
downloadforums-bc8c4ac27020dd51b2d24fd145e74f6be5f458d5.tar
forums-bc8c4ac27020dd51b2d24fd145e74f6be5f458d5.tar.gz
forums-bc8c4ac27020dd51b2d24fd145e74f6be5f458d5.tar.bz2
forums-bc8c4ac27020dd51b2d24fd145e74f6be5f458d5.tar.xz
forums-bc8c4ac27020dd51b2d24fd145e74f6be5f458d5.zip
[ticket/11865] Add bbcodes to functional posting tests
PHPBB3-11865
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/posting_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/posting_test.php b/tests/functional/posting_test.php
index 7fd1e4fdcf..dd95704952 100644
--- a/tests/functional/posting_test.php
+++ b/tests/functional/posting_test.php
@@ -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}");
$this->assertContains('This is a test topic posted by the testing framework.', $crawler->filter('html')->text());
- // Test creating a reply
- $post2 = $this->create_post(2, $post['topic_id'], 'Re: Test Topic 1', 'This is a test post posted by the testing framework.');
+ // Test creating a reply with bbcode
+ $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}");
$this->assertContains('This is a test post posted by the testing framework.', $crawler->filter('html')->text());