$this->setMwGlobals( 'wgSearchType', 'MockSearch' );
}
- function updateText( $text ) {
+ public function updateText( $text ) {
return trim( SearchUpdate::updateText( $text ) );
}
/**
* @covers SearchUpdate::updateText
+ * @todo give this test a real name explaining what is being tested here
*/
public function testBug32712() {
$text = "text „http://example.com“ text";