1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Merge pull request #9971 from heddn/php83

Update PHP 8.3 in test runner
This commit is contained in:
David Bomba 2024-09-06 07:23:56 +10:00 committed by GitHub
commit ee399ae30b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 9 additions and 2 deletions

View File

@ -14,7 +14,7 @@ jobs:
strategy: strategy:
matrix: matrix:
operating-system: ['ubuntu-22.04','ubuntu-24.04'] operating-system: ['ubuntu-22.04','ubuntu-24.04']
php-versions: ['8.2'] php-versions: ['8.3']
phpunit-versions: ['latest'] phpunit-versions: ['latest']
ci_node_total: [ 8 ] ci_node_total: [ 8 ]
ci_node_index: [ 0, 1, 2, 3, 4, 5, 6, 7] ci_node_index: [ 0, 1, 2, 3, 4, 5, 6, 7]

View File

@ -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);

View File

@ -48,7 +48,8 @@ class TaskStatusApiTest extends TestCase
{ {
TaskStatus::factory()->count(5)->create([ TaskStatus::factory()->count(5)->create([
'company_id' => $this->company->id, 'company_id' => $this->company->id,
'user_id' => $this->user->id 'user_id' => $this->user->id,
'status_order' => 99999,
]); ]);

View File

@ -239,6 +239,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();

View File

@ -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();
} }