@@ -212,7 +212,12 @@ public function testReadThumbnail()
212212 $ this ->assertEquals ('public ' , $ response ->getHeader ('Pragma ' )[0 ]);
213213 $ emitter ->emit ();
214214 $ size = getimagesizefromstring (file_get_contents ($ media ->getFilesystemPath ('100x100 ' )));
215- $ this ->assertEquals ([100 ,100 ,3 ,'width="100" height="100" ' ,"bits " =>8 ,"mime " =>"image/png " ,"width_unit " =>"px " ,"height_unit " =>"px " ], $ size );
215+ $ this ->assertEquals (100 , $ size [0 ]);
216+ $ this ->assertEquals (100 , $ size [1 ]);
217+ $ this ->assertEquals (3 , $ size [2 ]);
218+ $ this ->assertEquals ('width="100" height="100" ' , $ size [3 ]);
219+ $ this ->assertEquals (8 , $ size ['bits ' ]);
220+ $ this ->assertEquals ('image/png ' , $ size ['mime ' ]);
216221 }
217222
218223 public function testReadThumbnail10x10 ()
@@ -230,7 +235,12 @@ public function testReadThumbnail10x10()
230235 $ this ->assertEquals ('public ' , $ response ->getHeader ('Pragma ' )[0 ]);
231236 $ emitter ->emit ();
232237 $ size = getimagesizefromstring (file_get_contents ($ media ->getFilesystemPath ('10x10 ' )));
233- $ this ->assertEquals ([10 ,10 ,3 ,'width="10" height="10" ' ,"bits " =>8 ,"mime " =>"image/png " ,"width_unit " =>"px " ,"height_unit " =>"px " ], $ size );
238+ $ this ->assertEquals (10 , $ size [0 ]);
239+ $ this ->assertEquals (10 , $ size [1 ]);
240+ $ this ->assertEquals (3 , $ size [2 ]);
241+ $ this ->assertEquals ('width="10" height="10" ' , $ size [3 ]);
242+ $ this ->assertEquals (8 , $ size ['bits ' ]);
243+ $ this ->assertEquals ('image/png ' , $ size ['mime ' ]);
234244 }
235245
236246 public function testReadThumbnail25 ()
@@ -248,7 +258,12 @@ public function testReadThumbnail25()
248258 $ this ->assertEquals ('public ' , $ response ->getHeader ('Pragma ' )[0 ]);
249259 $ emitter ->emit ();
250260 $ size = getimagesizefromstring (file_get_contents ($ media ->getFilesystemPath ('25x25 ' )));
251- $ this ->assertEquals ([25 ,25 ,3 ,'width="25" height="25" ' ,"bits " =>8 ,"mime " =>"image/png " ,"width_unit " =>"px " ,"height_unit " =>"px " ], $ size );
261+ $ this ->assertEquals (25 , $ size [0 ]);
262+ $ this ->assertEquals (25 , $ size [1 ]);
263+ $ this ->assertEquals (3 , $ size [2 ]);
264+ $ this ->assertEquals ('width="25" height="25" ' , $ size [3 ]);
265+ $ this ->assertEquals (8 , $ size ['bits ' ]);
266+ $ this ->assertEquals ('image/png ' , $ size ['mime ' ]);
252267 }
253268
254269 public function testHttpConditional ()
0 commit comments