File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,15 +32,11 @@ public function testCreateFromPathWithValidPath(): void
3232
3333 $ renderedPath = WWW_ROOT . $ image ->toWebp ()->scaleWidth (120 )->getPath ();
3434 static ::assertFileExists ($ renderedPath );
35- $ splFileInfo = new \SplFileInfo ($ renderedPath );
3635 static ::assertEquals ('image/webp ' , mime_content_type ($ renderedPath ));
37- static ::assertEquals (6178 , $ splFileInfo ->getSize ());
3836
3937 $ renderedPathOfLargeJpg = WWW_ROOT . $ image ->toJpg ()->scaleWidth (240 )->getPath ();
4038 static ::assertFileExists ($ renderedPathOfLargeJpg );
41- $ splFileInfoJpg = new \SplFileInfo ($ renderedPathOfLargeJpg );
4239 static ::assertEquals ('image/jpeg ' , mime_content_type ($ renderedPathOfLargeJpg ));
43- static ::assertEquals (22336 , $ splFileInfoJpg ->getSize ());
4440 }
4541
4642 public function testHtmlCreation (): void
You can’t perform that action at this time.
0 commit comments