composer update phpunit 10.3, remove define in tests bootstrap
All checks were successful
CI / testsuite (pgsql, 8.2, ) (push) Successful in 4m55s
CI / testsuite (mysql, 8.2, ) (push) Successful in 5m13s
CI / testsuite (mysql, 8.4, ) (push) Successful in 9m14s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 4m49s
CI / testsuite (pgsql, 8.4, ) (push) Successful in 8m13s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Successful in 4m56s
CI / Coding Standard & Static Analysis (push) Successful in 3m9s
CI / testsuite (sqlite, 8.4, ) (push) Successful in 6m28s

This commit is contained in:
2026-03-21 00:19:49 -07:00
parent 89ccffd02c
commit eb721f831c
3 changed files with 2 additions and 14 deletions

View File

@@ -40,7 +40,7 @@ jobs:
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: ${{ matrix.php-version }} php-version: ${{ matrix.php-version }}
extensions: mbstring, intl, bcmath, sqlite, pdo_${{ matrix.db-type }} extensions: mbstring, intl, bcmath, sqlite, apcu, pdo_${{ matrix.db-type }}
coverage: pcov coverage: pcov
- name: Get composer cache directory - name: Get composer cache directory

View File

@@ -28,7 +28,7 @@
"josegonzalez/dotenv": "^4.0", "josegonzalez/dotenv": "^4.0",
"php-collective/decimal-object": "^1.3", "php-collective/decimal-object": "^1.3",
"phpstan/phpstan": "^2.1", "phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^10.5.5 || ^11.1.3 || ^12.1" "phpunit/phpunit": "^10.3"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {

View File

@@ -6,19 +6,7 @@ use Cake\Core\Configure;
//use Cake\TestSuite\Fixture\SchemaLoader; //use Cake\TestSuite\Fixture\SchemaLoader;
define('PLUGIN_ROOT', dirname(__DIR__)); define('PLUGIN_ROOT', dirname(__DIR__));
define('ROOT', PLUGIN_ROOT . DS . 'tests' . DS . 'test_app');
define('TMP', PLUGIN_ROOT . DS . 'tmp' . DS);
define('LOGS', TMP . 'logs' . DS);
define('CACHE', TMP . 'cache' . DS);
define('APP', ROOT . DS . 'src' . DS);
define('APP_DIR', 'src');
define('CAKE_CORE_INCLUDE_PATH', PLUGIN_ROOT . '/vendor/cakephp/cakephp');
define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS);
define('CAKE', CORE_PATH . APP_DIR . DS);
define('WWW_ROOT', PLUGIN_ROOT . DS . 'webroot' . DS);
define('TESTS', __DIR__ . DS); define('TESTS', __DIR__ . DS);
define('CONFIG', TESTS . 'config' . DS);
ini_set('intl.default_locale', 'en-US'); ini_set('intl.default_locale', 'en-US');