tests should be passing now
Some checks failed
CI / testsuite (mysql, 8.2, ) (push) Has started running
CI / testsuite (mysql, 8.4, ) (push) Has started running
CI / testsuite (pgsql, 8.2, ) (push) Has been cancelled
CI / testsuite (pgsql, 8.4, ) (push) Has been cancelled
CI / testsuite (sqlite, 8.2, ) (push) Has been cancelled
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Has been cancelled
CI / testsuite (sqlite, 8.4, ) (push) Has been cancelled
CI / Coding Standard & Static Analysis (push) Has been cancelled
Some checks failed
CI / testsuite (mysql, 8.2, ) (push) Has started running
CI / testsuite (mysql, 8.4, ) (push) Has started running
CI / testsuite (pgsql, 8.2, ) (push) Has been cancelled
CI / testsuite (pgsql, 8.4, ) (push) Has been cancelled
CI / testsuite (sqlite, 8.2, ) (push) Has been cancelled
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Has been cancelled
CI / testsuite (sqlite, 8.4, ) (push) Has been cancelled
CI / Coding Standard & Static Analysis (push) Has been cancelled
This commit is contained in:
@@ -7,6 +7,7 @@ use Cake\Core\Configure;
|
||||
use Cake\Core\Plugin;
|
||||
use Cake\Database\Connection;
|
||||
use Cake\Datasource\ConnectionManager;
|
||||
use Cake\TestSuite\Fixture\SchemaLoader;
|
||||
use CakeCarts\CakeCartsPlugin;
|
||||
use Migrations\TestSuite\Migrator;
|
||||
use TestApp\Controller\AppController;
|
||||
@@ -55,7 +56,7 @@ Configure::write('App', [
|
||||
],
|
||||
]);
|
||||
|
||||
Configure::write('debug', true);
|
||||
Configure::write('debug', false);
|
||||
Configure::write('CakeCarts', [
|
||||
'Carts' => [
|
||||
'table' => 'CakeCarts.Carts',
|
||||
@@ -120,8 +121,8 @@ 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']);
|
||||
|
||||
Reference in New Issue
Block a user