*
* @license GPL-2.0-or-later
* @author Gergő Tisza
- * @author Thiemo Mättig
*/
class HTMLFormTest extends MediaWikiTestCase {
$this->assertContains( ' autocomplete="off"', $form->wrapForm( '' ) );
}
+ public function testGetPreText() {
+ $preText = 'TEST';
+ $form = $this->newInstance();
+ $form->setPreText( $preText );
+ $this->assertSame( $preText, $form->getPreText() );
+ }
+
}