@@ -87,7 +87,7 @@ public function shouldConstructImageElement()
8787 $ image ->setHeight (75 );
8888
8989 $ 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="" /> ' ,
9191 $ this ->helper ->getHtml ($ image , 'w45 ' , 90 , 70 )
9292 );
9393 }
@@ -105,7 +105,7 @@ public function shouldReadImageDimensions()
105105 $ image ->setHeight (75 );
106106
107107 $ 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="" /> ' ,
109109 $ this ->helper ->getHtml ($ image , 'w45 ' )
110110 );
111111 }
@@ -123,12 +123,12 @@ public function shouldCalculateDimensions()
123123 $ image ->setAspectRatio (1.25 );
124124
125125 $ 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="" /> ' ,
127127 $ this ->helper ->getHtml ($ image , 'w45 ' , null , 50 )
128128 );
129129
130130 $ 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="" /> ' ,
132132 $ this ->helper ->getHtml ($ image , 'w45 ' , 63 )
133133 );
134134 }
@@ -161,7 +161,7 @@ public function shouldGetImageElementByString()
161161 $ imageUrl = $ this ->helper ->getHtml ('/1NfhdnQAEqcBRCulEhOFSkRrrLv.jpg ' );
162162
163163 $ 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="" /> ' ,
165165 $ imageUrl
166166 );
167167 }
0 commit comments