test the right filter :/

This commit is contained in:
Shish 2009-05-08 03:05:15 -07:00
parent dd9ced7b28
commit 989fc72e5a

View File

@ -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;