File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ class ImageResizeTest extends TestCase
1515 );
1616
1717 private $ unsupported_image = 'AAAKAAAAAAAAAAAAAQABABgAAF9SlQAAAAAAAAAAVFJVRVZJU0lPTi1YRklMRS4A ' ;
18- private $ image_string = 'R0lGODlhAQABAIAAAAQCBP///yH5BAEAAAEALAAAAAABAAEAAAICRAEAOw= = ' ;
19- private $ data_url = 'data:image/gif;base64,R0lGODlhAQABAIAAAAQCBP///yH5BAEAAAEALAAAAAABAAEAAAICRAEAOw= = ' ;
18+ private $ image_string = 'R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs = ' ;
19+ private $ data_url = 'data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs = ' ;
2020
2121
2222 /**
@@ -435,14 +435,14 @@ public function testGetImageAsString()
435435 {
436436 $ resize = ImageResize::createFromString (base64_decode ($ this ->image_string ));
437437 $ image = $ resize ->getImageAsString ();
438- $ this ->assertEquals (43 , strlen ($ image ));
438+ $ this ->assertEquals (35 , strlen ($ image ));
439439 }
440440
441441 public function testToString ()
442442 {
443443 $ resize = ImageResize::createFromString (base64_decode ($ this ->image_string ));
444444 $ image = (string )$ resize ;
445- $ this ->assertEquals (43 , strlen ($ image ));
445+ $ this ->assertEquals (35 , strlen ($ image ));
446446 }
447447
448448
You can’t perform that action at this time.
0 commit comments