git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move debugger to new api and add basic unit tests for it
[plcapi.git]
/
tests
/
5DemofilesTest.php
diff --git
a/tests/5DemofilesTest.php
b/tests/5DemofilesTest.php
index
48b8489
..
8f790d3
100644
(file)
--- a/
tests/5DemofilesTest.php
+++ b/
tests/5DemofilesTest.php
@@
-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);