File tree 1 file changed +4
-4
lines changed
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
15
15
);
16
16
17
17
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 = ' ;
20
20
21
21
22
22
/**
@@ -435,14 +435,14 @@ public function testGetImageAsString()
435
435
{
436
436
$ resize = ImageResize::createFromString (base64_decode ($ this ->image_string ));
437
437
$ image = $ resize ->getImageAsString ();
438
- $ this ->assertEquals (43 , strlen ($ image ));
438
+ $ this ->assertEquals (35 , strlen ($ image ));
439
439
}
440
440
441
441
public function testToString ()
442
442
{
443
443
$ resize = ImageResize::createFromString (base64_decode ($ this ->image_string ));
444
444
$ image = (string )$ resize ;
445
- $ this ->assertEquals (43 , strlen ($ image ));
445
+ $ this ->assertEquals (35 , strlen ($ image ));
446
446
}
447
447
448
448
You can’t perform that action at this time.
0 commit comments