File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -2424,6 +2424,8 @@ public function testWidgetAttributes()
2424
2424
// compare plain HTML to check the whitespace
2425
2425
try {
2426
2426
$ this ->assertSame ('<input type="text" id="text" name="text" readonly="readonly" disabled="disabled" required="required" maxlength="10" pattern="\d+" class="foobar" data-foo="bar" value="value" /> ' , $ html );
2427
+ } catch (\PHPUnit \Framework \AssertionFailedError $ e ) {
2428
+ $ this ->assertSame ('<input type="text" id="text" name="text" disabled="disabled" required="required" readonly="readonly" maxlength="10" pattern="\d+" class="foobar" data-foo="bar" value="value" /> ' , $ html );
2427
2429
} catch (\PHPUnit_Framework_AssertionFailedError $ e ) {
2428
2430
$ this ->assertSame ('<input type="text" id="text" name="text" disabled="disabled" required="required" readonly="readonly" maxlength="10" pattern="\d+" class="foobar" data-foo="bar" value="value" /> ' , $ html );
2429
2431
}
You can’t perform that action at this time.
0 commit comments