@@ -87,7 +87,7 @@ public function shouldConstructImageElement()
87
87
$ image ->setHeight (75 );
88
88
89
89
$ this ->assertEquals (
90
- '<img src="//image.tmdb.org/t/p/w45/1NfhdnQAEqcBRCulEhOFSkRrrLv.jpg" width="90" height="70" /> ' ,
90
+ '<img src="//image.tmdb.org/t/p/w45/1NfhdnQAEqcBRCulEhOFSkRrrLv.jpg" width="90" height="70" title="" alt="" /> ' ,
91
91
$ this ->helper ->getHtml ($ image , 'w45 ' , 90 , 70 )
92
92
);
93
93
}
@@ -105,7 +105,7 @@ public function shouldReadImageDimensions()
105
105
$ image ->setHeight (75 );
106
106
107
107
$ this ->assertEquals (
108
- '<img src="//image.tmdb.org/t/p/w45/1NfhdnQAEqcBRCulEhOFSkRrrLv.jpg" width="100" height="75" /> ' ,
108
+ '<img src="//image.tmdb.org/t/p/w45/1NfhdnQAEqcBRCulEhOFSkRrrLv.jpg" width="100" height="75" title="" alt="" /> ' ,
109
109
$ this ->helper ->getHtml ($ image , 'w45 ' )
110
110
);
111
111
}
@@ -123,12 +123,12 @@ public function shouldCalculateDimensions()
123
123
$ image ->setAspectRatio (1.25 );
124
124
125
125
$ this ->assertEquals (
126
- '<img src="//image.tmdb.org/t/p/w45/1NfhdnQAEqcBRCulEhOFSkRrrLv.jpg" width="63" height="50" /> ' ,
126
+ '<img src="//image.tmdb.org/t/p/w45/1NfhdnQAEqcBRCulEhOFSkRrrLv.jpg" width="63" height="50" title="" alt="" /> ' ,
127
127
$ this ->helper ->getHtml ($ image , 'w45 ' , null , 50 )
128
128
);
129
129
130
130
$ this ->assertEquals (
131
- '<img src="//image.tmdb.org/t/p/w45/1NfhdnQAEqcBRCulEhOFSkRrrLv.jpg" width="63" height="50" /> ' ,
131
+ '<img src="//image.tmdb.org/t/p/w45/1NfhdnQAEqcBRCulEhOFSkRrrLv.jpg" width="63" height="50" title="" alt="" /> ' ,
132
132
$ this ->helper ->getHtml ($ image , 'w45 ' , 63 )
133
133
);
134
134
}
@@ -161,7 +161,7 @@ public function shouldGetImageElementByString()
161
161
$ imageUrl = $ this ->helper ->getHtml ('/1NfhdnQAEqcBRCulEhOFSkRrrLv.jpg ' );
162
162
163
163
$ this ->assertEquals (
164
- '<img src="//image.tmdb.org/t/p/original/1NfhdnQAEqcBRCulEhOFSkRrrLv.jpg" width="" height="" /> ' ,
164
+ '<img src="//image.tmdb.org/t/p/original/1NfhdnQAEqcBRCulEhOFSkRrrLv.jpg" width="" height="" title="" alt="" /> ' ,
165
165
$ imageUrl
166
166
);
167
167
}
0 commit comments