1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-30 09:10:21 +02:00

Rename test functions

This commit is contained in:
Oliver Vogel
2024-03-10 10:13:45 +01:00
parent 67fde5f87e
commit 03281ba995
29 changed files with 77 additions and 77 deletions

View File

@@ -11,13 +11,13 @@ final class OriginTest extends BaseTestCase
{
public function testFilePath(): void
{
$origin = new Origin('image/jpeg', $this->getTestImagePath('example.jpg'));
$this->assertEquals($this->getTestImagePath('example.jpg'), $origin->filePath());
$origin = new Origin('image/jpeg', $this->getTestResourcePath('example.jpg'));
$this->assertEquals($this->getTestResourcePath('example.jpg'), $origin->filePath());
}
public function testFileExtension(): void
{
$origin = new Origin('image/jpeg', $this->getTestImagePath('example.jpg'));
$origin = new Origin('image/jpeg', $this->getTestResourcePath('example.jpg'));
$this->assertEquals('jpg', $origin->fileExtension());
$origin = new Origin('image/jpeg');