- Laravel Version: 8.78.1
- PHP Version: 8.1.0
- Database Driver & Version: MySQL 8
Description:
#40119 introduced an improvement for handling custom Doctrine types. But for some people it broke the test suites. (#40119 (comment) and #40119 (comment))
For sequential test runs issue happens when there is only the dbal array in config/database.php And the issue is gone when adding DB::registerDoctrineType call to AppServiceProvider. Which is not a good solution because it causes the application to make DB connection while the app is booting.
For parallel test runs issue happens in both cases.
Steps To Reproduce:
This repo shows the bug.