Skip to content

Commit 93e179a

Browse files
committed
Fix test
1 parent 52396bf commit 93e179a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unit/ImageTransformTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ public function getFilename(bool $withExtension = true): string
167167
return $this->filenameValue;
168168
}
169169

170-
public function getPath(): ?string
170+
public function getPath(?string $filename = null): string
171171
{
172-
return 'tests/' . $this->filenameValue;
172+
return 'tests/' . ($filename ?? $this->filenameValue);
173173
}
174174

175175
public function getMimeType(mixed $transform = null): ?string

0 commit comments

Comments
 (0)