Improve testsuite to make it easily executable by Travis
[plcapi.git] / test / parse_args.php
index 6430b4c..d47168c 100644 (file)
        {
                $HTTPSURI = '/server.php';
        }
+       if(!isset($HTTPSIGNOREPEER))
+       {
+               $HTTPSIGNOREPEER = false;
+       }
        if(!isset($PROXY))
        {
                $PROXYSERVER = null;
                        $PROXYPORT = 8080;
                }
        }
+    // used to silence testsuite warnings about proxy code not being tested
+    if(!isset($NOPROXY))
+    {
+        $NOPROXY = false;
+    }
        if(!isset($URI))
        {
                // GUESTIMATE the url of local demo server