File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
dev/tests/integration/testsuite/Magento
Backend/Block/Widget/Button Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,10 @@ public function testToHtml(): void
84
84
$ this ->assertStringContainsString ('<span>A button</span> ' , $ html );
85
85
$ this ->assertStringNotContainsString ('onclick= ' , $ html );
86
86
$ this ->assertStringNotContainsString ('style= ' , $ html );
87
- $ this ->assertMatchesRegularExpression ('/\<script.*?\>.*? ' . preg_quote ($ onclick ) . '.*?\<\/script\>/ims ' , $ html );
87
+ $ this ->assertMatchesRegularExpression (
88
+ '/\<script.*?\>.*? ' . preg_quote ($ onclick ) . '.*?\<\/script\>/ims ' ,
89
+ $ html
90
+ );
88
91
$ this ->assertStringContainsString ('width ' , $ html );
89
92
$ this ->assertStringContainsString ('100px ' , $ html );
90
93
$ this ->assertStringContainsString ('aria-label="Split button options" ' , $ html );
Original file line number Diff line number Diff line change @@ -86,7 +86,10 @@ public function testToHtml(): void
86
86
$ this ->assertStringContainsString ('<span>Split button control</span> ' , $ html );
87
87
$ this ->assertStringNotContainsString ('onclick= ' , $ html );
88
88
$ this ->assertStringNotContainsString ('style= ' , $ html );
89
- $ this ->assertMatchesRegularExpression ('/\<script.*?\>.*? ' . preg_quote ($ onclick ) . '.*?\<\/script\>/ims ' , $ html );
89
+ $ this ->assertMatchesRegularExpression (
90
+ '/\<script.*?\>.*? ' . preg_quote ($ onclick ) . '.*?\<\/script\>/ims ' ,
91
+ $ html
92
+ );
90
93
$ this ->assertStringContainsString ('width ' , $ html );
91
94
$ this ->assertStringContainsString ('100px ' , $ html );
92
95
$ this ->assertStringContainsString ('aria-label="Split button options" ' , $ html );
You can’t perform that action at this time.
0 commit comments