Skip to content

Commit

Permalink
MNT Fix unit tests to match CMS 6 only using PHP 8.3 (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Aug 27, 2024
1 parent 8602ea0 commit 1bb9098
Showing 1 changed file with 9 additions and 31 deletions.
40 changes: 9 additions & 31 deletions tests/JobCreatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ public function provideCreateJson(): array
[
[
'installer_version' => '6.x-dev',
'php' => '8.1',
'php' => '8.3',
'db' => DB_MYSQL_57,
'composer_require_extra' => '',
'composer_args' => '--prefer-lowest',
Expand All @@ -732,32 +732,12 @@ public function provideCreateJson(): array
'js' => 'false',
'doclinting' => 'false',
'needs_full_setup' => 'true',
'name' => '8.1 prf-low mysql57 phpunit all',
],
[
'installer_version' => '6.x-dev',
'php' => '8.2',
'db' => DB_MARIADB,
'composer_require_extra' => '',
'composer_args' => '',
'name_suffix' => '',
'phpunit' => 'true',
'phpunit_suite' => 'all',
'phplinting' => 'false',
'phpcoverage' => 'false',
'endtoend' => 'false',
'endtoend_suite' => 'root',
'endtoend_config' => '',
'endtoend_tags' => '',
'js' => 'false',
'doclinting' => 'false',
'needs_full_setup' => 'true',
'name' => '8.2 mariadb phpunit all',
'name' => '8.3 prf-low mysql57 phpunit all',
],
[
'installer_version' => '6.x-dev',
'php' => '8.3',
'db' => DB_MYSQL_80,
'db' => DB_MARIADB,
'composer_require_extra' => '',
'composer_args' => '',
'name_suffix' => '',
Expand All @@ -772,7 +752,7 @@ public function provideCreateJson(): array
'js' => 'false',
'doclinting' => 'false',
'needs_full_setup' => 'true',
'name' => '8.3 mysql80 phpunit all',
'name' => '8.3 mariadb phpunit all',
],
]
],
Expand Down Expand Up @@ -1431,7 +1411,7 @@ public function provideComposerInstall(): array
'6.x-dev',
'silverstripe-vendormodule',
[
'8.1 mysql57 phpunit all'
'8.3 mysql57 phpunit all'
]
],
'composerinstall_definedphpversion_framework5' => [
Expand Down Expand Up @@ -1480,9 +1460,8 @@ public function provideComposerInstall(): array
'6.x-dev',
'silverstripe-vendormodule',
[
'8.1 prf-low mysql57 phpunit all',
'8.2 mariadb phpunit all',
'8.3 mysql80 phpunit all',
'8.3 prf-low mysql57 phpunit all',
'8.3 mariadb phpunit all',
]
],
'composerupgrade_definedphpversion_framework5' => [
Expand Down Expand Up @@ -1513,9 +1492,8 @@ public function provideComposerInstall(): array
'6.x-dev',
'silverstripe-theme',
[
'8.1 prf-low mysql57 phpunit all',
'8.2 mariadb phpunit all',
'8.3 mysql80 phpunit all',
'8.3 prf-low mysql57 phpunit all',
'8.3 mariadb phpunit all',
]
],
'composerupgrade_nophpversion_framework51' => [
Expand Down

0 comments on commit 1bb9098

Please sign in to comment.