@@ -30,8 +30,8 @@ protected function setUp(): void
30
30
public function testFilterFor (string $ results , bool $ contains , string $ value )
31
31
{
32
32
$ contains ?
33
- self ::assertContains ($ results , $ this ->templateFilter ->filter ($ value )) :
34
- self ::assertNotContains ($ results , $ this ->templateFilter ->filter ($ value ));
33
+ self ::assertStringContainsString ($ results , $ this ->templateFilter ->filter ($ value )) :
34
+ self ::assertStringNotContainsString ($ results , $ this ->templateFilter ->filter ($ value ));
35
35
}
36
36
37
37
/**
@@ -41,30 +41,30 @@ public function getFilterForDataProvider() : array
41
41
{
42
42
$ template = <<<TEMPLATE
43
43
<div data-content-type="row" data-appearance="contained" data-element="main">
44
- <div data-enable-parallax="0" data-parallax-speed="0.5"
45
- data-background-images="{\"desktop_image\":\"{{media url=jb-decorating.jpg}}\"}"
46
- data-element="inner" style="justify-content: flex-start; display: flex; flex-direction: column;
47
- background-position: center center; background-size: cover; background-repeat: repeat;
44
+ <div data-enable-parallax="0" data-parallax-speed="0.5"
45
+ data-background-images="{\"desktop_image\":\"{{media url=jb-decorating.jpg}}\"}"
46
+ data-element="inner" style="justify-content: flex-start; display: flex; flex-direction: column;
47
+ background-position: center center; background-size: cover; background-repeat: repeat;
48
48
background-attachment: scroll; border-style: none; border-width: 1px; border-radius: 0px; min-height: 350px;
49
49
margin: 0px 0px 10px; padding: 10px;"></div>
50
50
</div>
51
51
TEMPLATE ;
52
52
53
53
$ template2 = <<<TEMPLATE
54
54
<div data-content-type="row" data-element="main" data-appearance="contained">
55
- <div style="background-position: center; border-width: 1px; border-style: none; margin: 0px 0px 10px;
56
- padding: 10px; border-radius: 0px; background-repeat: repeat; background-attachment: scroll; display: flex;
57
- min-height: 350px; background-size: cover; flex-direction: column; justify-content: flex-start;"
58
- data-element="inner" data-background-images='{ \"desktop_image \": \"{{media url=jb-decorating.jpg}} \"}'
55
+ <div style="background-position: center; border-width: 1px; border-style: none; margin: 0px 0px 10px;
56
+ padding: 10px; border-radius: 0px; background-repeat: repeat; background-attachment: scroll; display: flex;
57
+ min-height: 350px; background-size: cover; flex-direction: column; justify-content: flex-start;"
58
+ data-element="inner" data-background-images='{ \"desktop_image \": \"{{media url=jb-decorating.jpg}} \"}'
59
59
data-parallax-speed="0.5" data-enable-parallax="0"></div>
60
60
</div>
61
61
TEMPLATE ;
62
62
63
63
$ template3 = <<<TEMPLATE
64
64
<div data-content-type="row" data-element="main" data-appearance="contained">
65
- <div style="background-position: center; border-width: 1px; border-style: none; margin: 0px 0px 10px;
66
- padding: 10px; border-radius: 0px; background-repeat: repeat; background-attachment: scroll; display: flex;
67
- min-height: 350px; background-size: cover; flex-direction: column; justify-content: flex-start;"
65
+ <div style="background-position: center; border-width: 1px; border-style: none; margin: 0px 0px 10px;
66
+ padding: 10px; border-radius: 0px; background-repeat: repeat; background-attachment: scroll; display: flex;
67
+ min-height: 350px; background-size: cover; flex-direction: column; justify-content: flex-start;"
68
68
data-element="inner" data-background-images='{}' data-parallax-speed="0.5" data-enable-parallax="0"></div>
69
69
</div>
70
70
TEMPLATE ;
0 commit comments