1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Minor fixes

This commit is contained in:
David Bomba 2023-07-21 09:01:23 +10:00
parent 1c9450a6e4
commit 61c033b224
2 changed files with 3 additions and 1 deletions

View File

@ -285,7 +285,7 @@ class PreviewController extends BaseController
return $maker->getCompiledHTML();
}
} catch(\Exception $e) {
nlog($e->getMessage());
// nlog($e->getMessage());
DB::connection(config('database.default'))->rollBack();
return;

View File

@ -33,6 +33,8 @@ class CreditsTest extends TestCase
use DatabaseTransactions;
use AppSetup;
private $faker;
protected function setUp(): void
{
parent::setUp();