-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[BUG][FLEX][3.4] Problem to execute PhpUnit #27439
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
this means the downloaded file is corrupted. Can you have a look at the file to see what it contains locally? Could you have a look? |
OK after several tests I found the part that doesn't work, but this is a little bit strange so i want your advise before commit anything. for begining i have edited the file in "\vendor\symfony\phpunit-bridge\bin\simple-phpunit" and i have added exceptions for the zip file And after launch i have the exception "no such file" So i looked the part that download the file :
and after testing, the script doesn't enter in the condition statement, so i deleted the statement and then everything works out. the strange part is this test
In my symfony test app i've got 1 & 1 |
The logic here is that when an When this happens, we fallback to using We could use certutil instead on Windows: Would you like to have a try and submit a PR if it works? |
This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes #27567). Discussion ---------- [PhpUnitBridge] Fix error on some Windows OS | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #27439 | License | MIT Bug Fix on PHPUnit Bridge Commits ------- 50979b5 [PhpUnitBridge] Fix error on some Windows OS
Symfony version(s) affected: Flex 3.4
Description
After installed symfony/test-pack i can't run phpunit
How to reproduce
Run : composer require --dev test
Write a test
Run : php ./bin/phpunit
Additional context
Logs error : https://hastebin.com/tuyebixizo.tex
Possible Solution
Nothing is indicated on the documentation but i think this is a problem linked to Windows
The text was updated successfully, but these errors were encountered: