Hi,
continuing our discussion, I found where the Sqlite error came from. Though you are working on a MySQL DB, I could like you, find no reason why an Sqlite error should show up.
In your test/bootstrap.php, you probably have that piece of code, which come from the CakePHP skeleton.
// But since PagesControllerTest is run with debug enabled and DebugKit is loaded
// in application, without setting up these config DebugKit errors out.
ConnectionManager::setConfig('test_debug_kit', [
'className' => 'Cake\Database\Connection',
'driver' => 'Cake\Database\Driver\Sqlite',
'database' => TMP . 'debug_kit.sqlite',
'encoding' => 'utf8',
'cacheMetadata' => true,
'quoteIdentifiers' => false,
]);
ConnectionManager::alias('test_debug_kit', 'debug_kit');
I have amended the package in order to handle that case.