mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-07 14:14:36 +00:00
Build/Test Tools: Revert [38759]. PHPUnit's @requires syntax was introduced in PHPUnit 3.7, but the tests for PHP 5.2 use PHPUnit 3.6 because it's the latest version that supports PHP 5.2.
Fixes #38256 git-svn-id: https://develop.svn.wordpress.org/trunk@38761 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3,10 +3,15 @@
|
||||
/**
|
||||
* @group http
|
||||
* @group external-http
|
||||
*
|
||||
* @requires extension openssl
|
||||
*/
|
||||
class Tests_HTTP_Functions extends WP_UnitTestCase {
|
||||
public function setUp() {
|
||||
if ( ! extension_loaded( 'openssl' ) ) {
|
||||
$this->markTestSkipped( 'Tests_HTTP_Functions requires openssl.' );
|
||||
}
|
||||
|
||||
parent::setUp();
|
||||
}
|
||||
|
||||
function test_head_request() {
|
||||
// this url give a direct 200 response
|
||||
|
||||
Reference in New Issue
Block a user