Skip to content

Commit c8c8b33

Browse files
[5.x] Fix AddonTestCase path for Windows (#11994)
1 parent 8ba786e commit c8c8b33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Testing/AddonTestCase.php

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

2828
if (isset($uses[PreventsSavingStacheItemsToDisk::class])) {
2929
$reflection = new ReflectionClass($this);
30-
$this->fakeStacheDirectory = Str::before(dirname($reflection->getFileName()), '/tests').'/tests/__fixtures__/dev-null';
30+
$this->fakeStacheDirectory = Str::before(dirname($reflection->getFileName()), DIRECTORY_SEPARATOR.'tests').'/tests/__fixtures__/dev-null';
3131

3232
$this->preventSavingStacheItemsToDisk();
3333
}

0 commit comments

Comments
 (0)