-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Annotation assertions not detected on Windows #26809
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
Comments
Fixed by #26800? |
I don't think so, Doctrine doesn't use simple-phpunit at all, it only registers a listener: https://github.com/doctrine/dbal/blob/master/phpunit.xml.dist#L57 |
Yeah, not sure how it would relate to this bug anyway, but I can try with |
Relates to #21828 |
Just pushed a commit that should make the build failed (I changed the expectedDeprecation message). It doesn't, so the issue is a bit more serious than I thought. I notice that I expressed it poorly, because the title of this issue is still technically correct. To be precise, it's not detected when counting assertions or at all, it simply doesn't seem to be taken into account. |
Ah I think the Windows build simply use a different configurations, and I didn't add the listeners, let me check. |
Stupid mistake, it works just fine, sorry for bothering you with this. |
We have an issue on doctrine dbal with an assertion as annotation not being detected and the test being marked as risky on Windows:
Here is a PR where I tried to isolate the issue as much as possible: doctrine/dbal#3087, leaving only a class and its test.
The test code:
The subsequent appveyor build: https://ci.appveyor.com/project/doctrine/dbal/build/1.0.114/job/3nke06rul3e04598
The text was updated successfully, but these errors were encountered: