X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/c09300c06faa1ccedc6a89e7c26fd7f1bd3511bf..refs/pull/2700/head:/tests/Commands/ClearViewsCommandTest.php diff --git a/tests/Commands/ClearViewsCommandTest.php b/tests/Commands/ClearViewsCommandTest.php index d553ead2e..04665adcf 100644 --- a/tests/Commands/ClearViewsCommandTest.php +++ b/tests/Commands/ClearViewsCommandTest.php @@ -1,6 +1,7 @@ 1 ]); + DB::rollBack(); $exitCode = \Artisan::call('bookstack:clear-views'); + DB::beginTransaction(); $this->assertTrue($exitCode === 0, 'Command executed successfully'); $this->assertDatabaseMissing('views', [