cakephp / phinx

PHP Database Migrations for Everyone
https://phinx.org
MIT License
4.46k stars 892 forks source link

Fix using test command with manual set config #2235

Closed MasterOdin closed 10 months ago

MasterOdin commented 10 months ago

Fixes #2234

PR fixes a bug where it was not possible to use the test command if you had manually done ->setConfig on it, vs having an existing config file. This gets this command to operate similar to all the other commands, where they have the same check on running ->loadConfig or not (via the ->bootstrap method).

zeleznypa commented 9 months ago

@MasterOdin It works like a charm. Thank you very much.