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:
commit
ee399ae30b
2
.github/workflows/phpunit.yml
vendored
2
.github/workflows/phpunit.yml
vendored
@ -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]
|
||||||
|
@ -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);
|
||||||
|
@ -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,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
@ -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…
Reference in New Issue
Block a user