Skip to content

Commit 264fa2c

Browse files
committed
Bugfix path test
1 parent 123ed23 commit 264fa2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/ControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protected function setUp(): void
2929

3030
public function testThrowsWithInvalidStoragePath()
3131
{
32-
$this->config->storagePath = HOMEPATH . 'README.md';
32+
$this->config->storagePath = realpath(HOMEPATH . 'README.md') ?: HOMEPATH . 'README.md';
3333

3434
$this->expectException(FilesException::class);
3535
$this->expectExceptionMessage(lang('Files.dirFail', [$this->config->storagePath]));

0 commit comments

Comments
 (0)