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()
64
64
$ image = __DIR__ . '/ressources/test_webp.webp ' ;
65
65
$ resize = new ImageResize ($ image );
66
66
67
- $ this ->assertEquals (IMAGETYPE_WEBP , $ resize ->getSourceWidth () );
67
+ $ this ->assertEquals (IMAGETYPE_WEBP , $ resize ->source_type );
68
68
$ this ->assertInstanceOf ('\Gumlet\ImageResize ' , $ resize );
69
69
}
70
70
@@ -73,7 +73,7 @@ public function testLoadAvif()
73
73
$ image = __DIR__ . '/ressources/test_avif.avif ' ;
74
74
$ resize = new ImageResize ($ image );
75
75
76
- $ this ->assertEquals (100 , $ resize ->original_w );
76
+ $ this ->assertEquals (100 , $ resize ->getSourceWidth () );
77
77
$ this ->assertEquals (IMAGETYPE_AVIF , $ resize ->source_type );
78
78
$ this ->assertInstanceOf ('\Gumlet\ImageResize ' , $ resize );
79
79
}
You can’t perform that action at this time.
0 commit comments