mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-11 15:34:21 -04:00
fix failing tests, resolves https://github.com/laravel/framework/issues/49237
This commit is contained in:
parent
4f22fb9812
commit
5b9af52ba1
@ -1151,6 +1151,8 @@ class ImportCompanyTest extends TestCase
|
|||||||
|
|
||||||
protected function tearDown() :void
|
protected function tearDown() :void
|
||||||
{
|
{
|
||||||
|
parent::tearDown();
|
||||||
|
|
||||||
$backup_json_file = sys_get_temp_dir().'/backup/backup.json';
|
$backup_json_file = sys_get_temp_dir().'/backup/backup.json';
|
||||||
|
|
||||||
// unlink($backup_json_file);
|
// unlink($backup_json_file);
|
||||||
|
@ -245,6 +245,8 @@ class MultiDBUserTest extends TestCase
|
|||||||
|
|
||||||
protected function tearDown() :void
|
protected function tearDown() :void
|
||||||
{
|
{
|
||||||
|
parent::tearDown();
|
||||||
|
|
||||||
DB::connection('db-ninja-01')->table('users')->delete();
|
DB::connection('db-ninja-01')->table('users')->delete();
|
||||||
DB::connection('db-ninja-02')->table('users')->delete();
|
DB::connection('db-ninja-02')->table('users')->delete();
|
||||||
|
|
||||||
|
@ -106,6 +106,8 @@ class UniqueEmailTest extends TestCase
|
|||||||
|
|
||||||
protected function tearDown() :void
|
protected function tearDown() :void
|
||||||
{
|
{
|
||||||
|
parent::tearDown();
|
||||||
|
|
||||||
DB::connection('db-ninja-01')->table('users')->delete();
|
DB::connection('db-ninja-01')->table('users')->delete();
|
||||||
DB::connection('db-ninja-02')->table('users')->delete();
|
DB::connection('db-ninja-02')->table('users')->delete();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user