-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Test for array of enums #10111
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
Test for array of enums #10111
Conversation
As requested in doctrine#10063
You need to make sure the test is not executed on PHP 8.0 and below. Especially the enum must not be parsed on older PHP versions. |
Sorry, where can I configure this? |
You can use orm/tests/Doctrine/Tests/ORM/ORMSetupTest.php Lines 53 to 55 in b2a4fac
|
Looks better, doesn't it? 🙂 Do you need help with the remaining issues? |
The test looks okay, but does it really cover the issue that was introduced with 2.13.2? I would've expected the use of a query builder to reproduce the problem. |
I think these tests are redundant now, they are part of #10058 . see: |
Sorry guys, I wasn't sure from the beginning what I'm supposed to do in this test; and I know even less now ;-) So please somebody take over, or just close... |
Okay, let's close this PR then. |
As requested in #10063
I'm not sure if this is really testing anything, since (I think) it passes in 2.13.2 too. Could you please double-check?
Are PHP attributes (mapping information) not available in tests?