mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-18 23:42:25 +02:00
Merge pull request #9971 from heddn/php83
Update PHP 8.3 in test runner
This commit is contained in:
commit
ee399ae30b
2
.github/workflows/phpunit.yml
vendored
2
.github/workflows/phpunit.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
operating-system: ['ubuntu-22.04','ubuntu-24.04']
|
||||
php-versions: ['8.2']
|
||||
php-versions: ['8.3']
|
||||
phpunit-versions: ['latest']
|
||||
ci_node_total: [ 8 ]
|
||||
ci_node_index: [ 0, 1, 2, 3, 4, 5, 6, 7]
|
||||
|
@ -1151,6 +1151,8 @@ class ImportCompanyTest extends TestCase
|
||||
|
||||
protected function tearDown(): void
|
||||
{
|
||||
parent::tearDown();
|
||||
|
||||
$backup_json_file = sys_get_temp_dir().'/backup/backup.json';
|
||||
|
||||
// unlink($backup_json_file);
|
||||
|
@ -48,7 +48,8 @@ class TaskStatusApiTest extends TestCase
|
||||
{
|
||||
TaskStatus::factory()->count(5)->create([
|
||||
'company_id' => $this->company->id,
|
||||
'user_id' => $this->user->id
|
||||
'user_id' => $this->user->id,
|
||||
'status_order' => 99999,
|
||||
]);
|
||||
|
||||
|
||||
|
@ -239,6 +239,8 @@ class MultiDBUserTest extends TestCase
|
||||
|
||||
protected function tearDown(): void
|
||||
{
|
||||
parent::tearDown();
|
||||
|
||||
DB::connection('db-ninja-01')->table('users')->delete();
|
||||
DB::connection('db-ninja-02')->table('users')->delete();
|
||||
|
||||
|
@ -106,6 +106,8 @@ class UniqueEmailTest extends TestCase
|
||||
|
||||
protected function tearDown(): void
|
||||
{
|
||||
parent::tearDown();
|
||||
|
||||
DB::connection('db-ninja-01')->table('users')->delete();
|
||||
DB::connection('db-ninja-02')->table('users')->delete();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user