Closed berkut1 closed 4 weeks ago
Can you please add a unit test?
How do I test this? I tried to understand it by looking at the previous pull request https://github.com/doctrine/dbal/pull/6150, but I didn't find any tests there. I guess I need to create a Comparator
object with a Platform
, but in AbstractComparatorTestCase
Class, no object is created in any test except setUp()
.
Do I really need to create it in my test function and pass disableTypeComments
? It seems strange to me considering all the other tests.
Or should I write a test in AbstractPlatformTestCase
?
Do you think such a test would be suitable? After reviewing AbstractPlatformTestCase
, it seems like the most appropriate place for it.
Thanks, I'm fine with those changes.
Thanks @berkut1 !
Summary
In the https://github.com/doctrine/dbal/pull/6150, a check was missed when we were validating the database schema.