upgrade migrations plugin to 4.5 to fix base migratino not found error on setup-lowest tests
Some checks failed
CI / testsuite (pgsql, 8.2, ) (push) Successful in 4m44s
CI / testsuite (pgsql, 8.4, ) (push) Successful in 6m23s
CI / testsuite (mysql, 8.2, ) (push) Successful in 13m40s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 3m27s
CI / testsuite (mysql, 8.4, ) (push) Successful in 18m49s
CI / testsuite (sqlite, 8.4, ) (push) Successful in 7m17s
CI / Coding Standard & Static Analysis (push) Failing after 7m2s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Successful in 13m0s

This commit is contained in:
2026-02-14 01:08:57 -08:00
parent a23df039db
commit d19932eccd
4 changed files with 6 additions and 65 deletions

View File

@@ -9,6 +9,7 @@ use Cake\Database\Connection;
use Cake\Datasource\ConnectionManager;
use Cake\TestSuite\Fixture\SchemaLoader;
use CakeCarts\CakeCartsPlugin;
use Migrations\TestSuite\Migrator;
use TestApp\Controller\AppController;
if (!defined('DS')) {
@@ -120,7 +121,7 @@ ConnectionManager::setConfig('test', [
* and using \Migrations\TestSuite\Migrator to load schema.
*/
// Load a schema dump file.
(new SchemaLoader())->loadSqlFiles('tests/schema.sql', 'test');
//(new SchemaLoader())->loadSqlFiles('tests/schema.sql', 'test');
//$migrator = new Migrator();
//$migrator->run(['plugin' => 'CakeCarts']);
$migrator = new Migrator();
$migrator->run(['plugin' => 'CakeCarts']);