We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 123ed23 commit 264fa2cCopy full SHA for 264fa2c
1 file changed
tests/unit/ControllerTest.php
@@ -29,7 +29,7 @@ protected function setUp(): void
29
30
public function testThrowsWithInvalidStoragePath()
31
{
32
- $this->config->storagePath = HOMEPATH . 'README.md';
+ $this->config->storagePath = realpath(HOMEPATH . 'README.md') ?: HOMEPATH . 'README.md';
33
34
$this->expectException(FilesException::class);
35
$this->expectExceptionMessage(lang('Files.dirFail', [$this->config->storagePath]));
0 commit comments