X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=test%2Ftestsuite.php;h=e11e97ee0ffcc0d5eafa1cf5d462cace61bcc97b;hb=369fa296e015065bd5a64ab4c410751e2a5874a8;hp=28736981e480c95f76f44373360071f675cf6d91;hpb=d14723a7c6fe196669ab1e6bf856fd0126facc10;p=plcapi.git diff --git a/test/testsuite.php b/test/testsuite.php index 2873698..e11e97e 100644 --- a/test/testsuite.php +++ b/test/testsuite.php @@ -542,7 +542,7 @@ And turned it into nylon'; 'c4' => array('value' => 'c4', 'expires' => time()+60*60*24*30, 'path' => '/'), 'c5' => array('value' => 'c5', 'expires' => time()+60*60*24*30, 'path' => '/', 'domain' => 'localhost'), ); - $cookiesval =& php_xmlrpc_encode($cookies); + $cookiesval = php_xmlrpc_encode($cookies); $f=new xmlrpcmsg('examples.setcookies',array($cookiesval)); $r=$this->send($f, 0, true); if($r) @@ -1346,8 +1346,9 @@ $f = 'client->path = $URI; $r = $this->client->send($f, 5, 'http11'); - $r = $r->value(); - $this->assertEquals('hello', $r->scalarVal()); + $ro = $r->value(); +var_dump($r); + $this->assertEquals('hello', $ro->scalarVal()); } } @@ -1440,7 +1441,7 @@ $f = 'Using lib version: $xmlrpcVersion on PHP version: ".phpversion()."\n"; echo '

Running '.$suite->testCount().' tests (some of which are multiple) against servers: http://'.htmlspecialchars($LOCALSERVER.$URI).' and https://'.htmlspecialchars($HTTPSSERVER.$HTTPSURI)."\n ...

\n"; flush(); - ob_flush(); + @ob_flush(); } else {