projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- take advantage of constified ZEND_API
[m6w6/ext-http]
/
tests
/
HttpRequestPool_007.phpt
diff --git
a/tests/HttpRequestPool_007.phpt
b/tests/HttpRequestPool_007.phpt
index 2105d4929fd713d18c980f45df4775f442eeefcf..8e97d402c8a5cb90897b1d75b5be67e04d63c628 100644
(file)
--- a/
tests/HttpRequestPool_007.phpt
+++ b/
tests/HttpRequestPool_007.phpt
@@
-5,8
+5,7
@@
HttpRequestPool chain with libevent
include 'skip.inc';
checkcls('HttpRequest');
checkcls('HttpRequestPool');
-$pool = new RequestPool;
-skipif(!@$pool->enableEvents(), "need libevent support");
+skipif(!http_support(HTTP_SUPPORT_EVENTS), "need libevent support");
?>
--FILE--
<?php