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()
24242424 // compare plain HTML to check the whitespace
24252425 try {
24262426 $ 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 );
24272429 } catch (\PHPUnit_Framework_AssertionFailedError $ e ) {
24282430 $ 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 );
24292431 }
You can’t perform that action at this time.
0 commit comments