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
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:
@@ -40,7 +40,7 @@ jobs:
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
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
|
||||
|
||||
- name: Get composer cache directory
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
"josegonzalez/dotenv": "^4.0",
|
||||
"php-collective/decimal-object": "^1.3",
|
||||
"phpstan/phpstan": "^2.1",
|
||||
"phpunit/phpunit": "^10.5.5 || ^11.1.3 || ^12.1"
|
||||
"phpunit/phpunit": "^10.3"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
||||
@@ -6,19 +6,7 @@ use Cake\Core\Configure;
|
||||
//use Cake\TestSuite\Fixture\SchemaLoader;
|
||||
|
||||
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('CONFIG', TESTS . 'config' . DS);
|
||||
|
||||
ini_set('intl.default_locale', 'en-US');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user