Move debugger to new api and add basic unit tests for it
[plcapi.git] / tests / 5DemofilesTest.php
index 48b8489..8f790d3 100644 (file)
@@ -70,6 +70,9 @@ class DemoFilesTest extends PHPUnit_Framework_TestCase
         {
             curl_setopt($ch, CURLOPT_COOKIE, 'PHPUNIT_SELENIUM_TEST_ID=true');
         }
+        if ($this->args['DEBUG'] > 0) {
+            curl_setopt($ch, CURLOPT_VERBOSE, 1);
+        }
         $page = curl_exec($ch);
         curl_close($ch);