aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2019-12-29 01:51:15 +0700
committerrxu <rxu@mail.ru>2019-12-29 01:51:15 +0700
commit82e61f501abfa2768d7faac1ccd8d688c84e5e13 (patch)
treee8537759677ca988b21a5412e8c706839106e490 /tests
parent72747ed6862282d1d38414ccf9c1ee56d63821a6 (diff)
downloadforums-82e61f501abfa2768d7faac1ccd8d688c84e5e13.tar
forums-82e61f501abfa2768d7faac1ccd8d688c84e5e13.tar.gz
forums-82e61f501abfa2768d7faac1ccd8d688c84e5e13.tar.bz2
forums-82e61f501abfa2768d7faac1ccd8d688c84e5e13.tar.xz
forums-82e61f501abfa2768d7faac1ccd8d688c84e5e13.zip
[ticket/16276] Fix bbcode_firstpass undefined mode property
PHPBB3-16276
Diffstat (limited to 'tests')
-rw-r--r--tests/bbcode/parser_test.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bbcode/parser_test.php b/tests/bbcode/parser_test.php
index b569d371f1..6e1fad9ad1 100644
--- a/tests/bbcode/parser_test.php
+++ b/tests/bbcode/parser_test.php
@@ -255,6 +255,7 @@ class phpbb_bbcode_parser_test extends \phpbb_test_case
$symfony_request = new \phpbb\symfony_request($request);
$bbcode = new bbcode_firstpass();
+ $bbcode->mode = 'post';
$bbcode->message = $message;
$bbcode->bbcode_init(false);
$bbcode->parse_bbcode();