Skip to content

Commit d2aef29

Browse files
author
Elliot Levin
committed
Attempt to fix test fixtures on linux
1 parent a581123 commit d2aef29

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/Tests/Integration/Fixtures/DmsFixture.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ protected function seed(Application $app)
4242
*/
4343
public function setUpBeforeClass(Application $app)
4444
{
45+
$stubFileDirectory = dirname($this->dbStubFile());
46+
if (!is_dir($stubFileDirectory)) {
47+
mkdir($stubFileDirectory, 0777, true);
48+
}
49+
4550
/** @var LaravelMigrationGenerator $migrationGenerator */
4651
$migrationsPath = $this->migrationsPath();
4752
if (!is_dir($migrationsPath)) {

0 commit comments

Comments
 (0)