-
Notifications
You must be signed in to change notification settings - Fork 502
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
Fix unit tests #279
Comments
… name This change is intended to work in php 5.2+, the lowest version .travis.yml indicates this supports. If PHPUnit_Framework_TestCase does not exist, check if PHPUnit\Framework\TestCase does exist, and if so, alias it. - Different versions of phpunit may be required for different php versions, so don't try standardizing for now. Fixes WordPress#279
… name This change is intended to work in php 5.2+, the lowest version .travis.yml indicates this supports. If PHPUnit_Framework_TestCase does not exist, check if PHPUnit\Framework\TestCase does exist, and if so, alias it. - Different versions of phpunit may be required for different php versions, so don't try standardizing for now. Fixes WordPress#279
Is the herokuapp or the proxy broken? |
For the tests, the proxy it's connecting to is a local copy of mitmproxy, run in https://github.com/rmccue/Requests/blob/master/tests/utils/proxy/start.sh Seems like it must not be correctly connecting to that; potentially mitmproxy isn't being started correctly. Or, it's possible an underlying update to the Travis boxes broke |
As suspected: https://travis-ci.org/rmccue/Requests/jobs/241055006 |
The trusty beta doesn't seem like it'll help (Seems like python 3.4?) (Could try to look for PPAs?) Alternately, one could
|
Fixed the mitmproxy problem (I just downgraded), working on fixing the other errors now. |
FWIW, I think Python 3 is installed, but as the |
Looks like this was originally fixed in #303 (Dec 2017). The tests have since been made fully PHPUnit cross-version compatible using the PHPUnit Polyfills. |
PHPUnit was upgraded on Travis, and this has broken all the tests, which use 5.2-style (
PHPUnit_Framework_TestCase
)The text was updated successfully, but these errors were encountered: