Skip to content

Commit ea6cd7d

Browse files
committed
Use DB::reconnect()
1 parent f5f0e53 commit ea6cd7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/TestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Rapidez\Core\Tests;
44

55
use Illuminate\Foundation\Testing\DatabaseTransactions;
6+
use Illuminate\Support\Facades\DB;
67
use Illuminate\Support\Facades\Schema;
78
use Orchestra\Testbench\TestCase as BaseTestCase;
89
use Rapidez\Core\Facades\Rapidez;
@@ -20,7 +21,7 @@ public function setUp(): void
2021

2122
$this->setUpDatabase($this->app);
2223

23-
parent::setUp();
24+
DB::reconnect();
2425

2526
Rapidez::setStore(1);
2627
}

0 commit comments

Comments
 (0)