Tests updates: DB try catch for the ACL test, curl setup fix
curl init alone is not enought to validate a url. for DB conneciton use try/catch to get errors and skip test
This commit is contained in:
@@ -58,6 +58,10 @@ final class CoreLibsUrlRequestsCurlTest extends TestCase
|
||||
if ($handle === false) {
|
||||
continue;
|
||||
}
|
||||
$status = curl_exec($handle);
|
||||
if ($status === false) {
|
||||
continue;
|
||||
}
|
||||
$this->url_basic = $url;
|
||||
// print "Open: $url\n";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user