Skip to content

Commit

Permalink
Cover case with unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazar65 committed Dec 9, 2019
1 parent 8ea3d26 commit 3e65b37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ public function testGetHtml()
{
$html = $this->_model->getHtml();
$this->assertContains('type="password"', $html);
$this->assertTrue(preg_match('/class=\".*input-text.*\"/i', $html) > 0);
$this->assertTrue(preg_match('/class=\"* input-text admin__control-text.*\"/i', $html) > 0);
}
}

0 comments on commit 3e65b37

Please sign in to comment.