Skip to content

Commit e51e14e

Browse files
committed
Support lower version of testbench
1 parent d2f5edc commit e51e14e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/BaseTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ protected function setUp(): void
2626
// but we need it to reference our app. Adding this link
2727
// will make it transparent.
2828
if (!File::exists(base_path() . '/tests/Support')) {
29+
// Support for older versions of testbench that don't have a tests directory.
30+
File::ensureDirectoryExists(base_path() . '/tests');
2931
exec('ln -sf ' . __DIR__ . '/Support ' . base_path() . '/tests/Support');
3032
}
3133
}

0 commit comments

Comments
 (0)