File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public function testLoadWebp()
6464 $ image = __DIR__ . '/ressources/test_webp.webp ' ;
6565 $ resize = new ImageResize ($ image );
6666
67- $ this ->assertEquals (IMAGETYPE_WEBP , $ resize ->getSourceWidth () );
67+ $ this ->assertEquals (IMAGETYPE_WEBP , $ resize ->source_type );
6868 $ this ->assertInstanceOf ('\Gumlet\ImageResize ' , $ resize );
6969 }
7070
@@ -73,7 +73,7 @@ public function testLoadAvif()
7373 $ image = __DIR__ . '/ressources/test_avif.avif ' ;
7474 $ resize = new ImageResize ($ image );
7575
76- $ this ->assertEquals (100 , $ resize ->original_w );
76+ $ this ->assertEquals (100 , $ resize ->getSourceWidth () );
7777 $ this ->assertEquals (IMAGETYPE_AVIF , $ resize ->source_type );
7878 $ this ->assertInstanceOf ('\Gumlet\ImageResize ' , $ resize );
7979 }
You can’t perform that action at this time.
0 commit comments