diff --git a/tests/CommandsTest/PluginDisableCommandTest.php b/tests/CommandsTest/PluginDisableCommandTest.php index 5a7d3a64..74162e77 100644 --- a/tests/CommandsTest/PluginDisableCommandTest.php +++ b/tests/CommandsTest/PluginDisableCommandTest.php @@ -4,9 +4,12 @@ namespace Tests; use App\Services\Plugin; use App\Services\PluginManager; +use Illuminate\Foundation\Testing\DatabaseTransactions; class PluginDisableCommandTest extends TestCase { + use DatabaseTransactions; + public function testDisablePlugin() { $this->mock(PluginManager::class, function ($mock) { diff --git a/tests/CommandsTest/PluginEnableCommandTest.php b/tests/CommandsTest/PluginEnableCommandTest.php index f92c7836..e652a696 100644 --- a/tests/CommandsTest/PluginEnableCommandTest.php +++ b/tests/CommandsTest/PluginEnableCommandTest.php @@ -4,9 +4,12 @@ namespace Tests; use App\Services\Plugin; use App\Services\PluginManager; +use Illuminate\Foundation\Testing\DatabaseTransactions; class PluginEnableCommandTest extends TestCase { + use DatabaseTransactions; + public function testEnablePlugin() { $this->mock(PluginManager::class, function ($mock) {