Skip to content

Commit ec66dd6

Browse files
committed
wip
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 20a25fa commit ec66dd6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/TestCase.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,20 @@
44

55
namespace Tpetry\QueryExpressions\Tests;
66

7+
use Illuminate\Foundation\Testing\DatabaseMigrations;
78
use Orchestra\Testbench\TestCase as Orchestra;
89

910
class TestCase extends Orchestra
1011
{
12+
use DatabaseMigrations;
13+
1114
protected function setUp(): void
1215
{
1316
parent::setUp();
1417

1518
// The RefreshDatabase trait did not work for some reason. As I don't have to run any migrations, the simplified
1619
// approach of dropping tables is even better. Less work to do when setting up the test environments results in
1720
// better performance.
18-
$this->getConnection()->getSchemaBuilder()->dropAllTables();
21+
// $this->getConnection()->getSchemaBuilder()->dropAllTables();
1922
}
2023
}

0 commit comments

Comments
 (0)