test the right filter :/
This commit is contained in:
parent
dd9ced7b28
commit
989fc72e5a
@ -46,7 +46,7 @@ class BBCodeUnitTest extends UnitTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function filter($in) {
|
private function filter($in) {
|
||||||
$bb = new WordFilter();
|
$bb = new BBCode();
|
||||||
$tfe = new TextFormattingEvent($in);
|
$tfe = new TextFormattingEvent($in);
|
||||||
$bb->receive_event($tfe);
|
$bb->receive_event($tfe);
|
||||||
return $tfe->formatted;
|
return $tfe->formatted;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user