Ticket #36335: http-tests.diff
File http-tests.diff, 548 bytes (added by , 8 years ago) |
---|
-
tests/phpunit/tests/http/base.php
diff --git tests/phpunit/tests/http/base.php tests/phpunit/tests/http/base.php index 55e8c0a..671e2ae 100644
abstract class WP_HTTP_UnitTestCase extends WP_UnitTestCase { 45 45 return; 46 46 } 47 47 48 $class = "WP_Http_" . $this->transport;48 $class = "WP_Http_" . ucfirst( $this->transport ); 49 49 if ( !call_user_func( array($class, 'test') ) ) { 50 50 $this->markTestSkipped( sprintf('The transport %s is not supported on this system', $this->transport) ); 51 51 }