Skip to content

Commit 3e65b37

Browse files
committed
Cover case with unit test
1 parent 8ea3d26 commit 3e65b37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Data/Test/Unit/Form/Element/PasswordTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ public function testGetHtml()
5353
{
5454
$html = $this->_model->getHtml();
5555
$this->assertContains('type="password"', $html);
56-
$this->assertTrue(preg_match('/class=\".*input-text.*\"/i', $html) > 0);
56+
$this->assertTrue(preg_match('/class=\"* input-text admin__control-text.*\"/i', $html) > 0);
5757
}
5858
}

0 commit comments

Comments
 (0)