mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-23 15:56:50 +00:00
Replace assertNotRegExp -> assertDoesNotMatchRegularExpression
Follow-up to I6859b48f7a9084101e981fb48449c1c1dc17a80c. Bug: T243600 Change-Id: Ifdba0f9e98eb6bce4590b7eb73170c51a697d7c6
This commit is contained in:
parent
b156d227aa
commit
32f9cf26a6
|
@ -8,7 +8,7 @@ class HTMLFancyCaptchaFieldTest extends MediaWikiIntegrationTestCase {
|
|||
$html = $this->getForm( [ 'imageUrl' => 'https://example.com/' ] )->getHTML( false );
|
||||
$this->assertMatchesRegularExpression( '/"fancycaptcha-image"/', $html );
|
||||
$this->assertMatchesRegularExpression( '#src="https://example.com/"#', $html );
|
||||
$this->assertNotRegExp( '/"mw-createacct-captcha-assisted"/', $html );
|
||||
$this->assertDoesNotMatchRegularExpression( '/"mw-createacct-captcha-assisted"/', $html );
|
||||
|
||||
$html = $this->getForm( [ 'imageUrl' => '', 'showCreateHelp' => true ] )->getHTML( false );
|
||||
$this->assertMatchesRegularExpression( '/"mw-createacct-captcha-assisted"/', $html );
|
||||
|
|
Loading…
Reference in a new issue