-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SchemaLoader::loadSqlFiles() cannot find database if dropTables() is skipped #17289
Comments
How can someone reproduce the problem you're having? The default value of |
@tigerduck42 Can you give us more information? |
I have the following lines in my
In and will get the following error
|
@markstory Do we want to support this? |
I can take another look at this. We shouldn't have errors like this being emitted from valid parameter sets. |
Description
https://github.com/cakephp/cakephp/blob/4.x/src/TestSuite/Fixture/SchemaLoader.php#L71-L87
If
dropTables()
is by passed via$dropTables = false
(line 71) the$driver->connection = null
(Line 68) and$sql
can not be executed because no database is configured.CakePHP Version
4.4.14
PHP Version
8.1.5
The text was updated successfully, but these errors were encountered: