Skip to content

Commit 18b13e9

Browse files
committed
Move & add comment
1 parent ea6cd7d commit 18b13e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/TestCase.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ public function setUp(): void
2121

2222
$this->setUpDatabase($this->app);
2323

24-
DB::reconnect();
25-
2624
Rapidez::setStore(1);
2725
}
2826

@@ -60,6 +58,9 @@ protected function setUpDatabase($app)
6058
]));
6159

6260
fwrite(STDOUT, 'Done' . PHP_EOL);
61+
62+
// Reconnect the DB because the dump causes the existing connection to be broken
63+
DB::reconnect();
6364
}
6465

6566
protected function getEnvironmentSetUp($app)

0 commit comments

Comments
 (0)