We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a25fa commit ec66dd6Copy full SHA for ec66dd6
tests/TestCase.php
@@ -4,17 +4,20 @@
4
5
namespace Tpetry\QueryExpressions\Tests;
6
7
+use Illuminate\Foundation\Testing\DatabaseMigrations;
8
use Orchestra\Testbench\TestCase as Orchestra;
9
10
class TestCase extends Orchestra
11
{
12
+ use DatabaseMigrations;
13
+
14
protected function setUp(): void
15
16
parent::setUp();
17
18
// The RefreshDatabase trait did not work for some reason. As I don't have to run any migrations, the simplified
19
// approach of dropping tables is even better. Less work to do when setting up the test environments results in
20
// better performance.
- $this->getConnection()->getSchemaBuilder()->dropAllTables();
21
+ // $this->getConnection()->getSchemaBuilder()->dropAllTables();
22
}
23
0 commit comments