$user = new TestUser( __METHOD__ );
list( $html, ) = $this->executeSpecialPage( 'clear', null, 'qqx', $user->getUser() );
$this->assertRegExp(
- '/<form class="mw-htmlform" action=".*?Special:EditWatchlist\/clear" method="post">/',
+ '/<form action=\'.*?Special:EditWatchlist\/clear\'/',
$html
);
}
$user = new TestUser( __METHOD__ );
list( $html, ) = $this->executeSpecialPage( 'raw', null, 'qqx', $user->getUser() );
$this->assertContains(
- '<textarea id="mw-input-wpTitles"',
+ '<div id=\'mw-input-wpTitles\'',
$html
);
}