Update JsonRPC library

This commit is contained in:
Frederic Guillot
2016-04-26 22:55:56 -04:00
parent 36bdcf193b
commit 1936a74cb3
6 changed files with 19 additions and 19 deletions

View File

@@ -35,15 +35,15 @@ abstract class Base extends PHPUnit_Framework_TestCase
{
$this->app = new JsonRPC\Client(API_URL);
$this->app->authentication('jsonrpc', API_KEY);
// $this->app->debug = true;
$this->app->getHttpClient()->withDebug();
$this->admin = new JsonRPC\Client(API_URL);
$this->admin->authentication('admin', 'admin');
// $this->admin->debug = true;
$this->admin->getHttpClient()->withDebug();
$this->user = new JsonRPC\Client(API_URL);
$this->user->authentication('user', 'password');
// $this->user->debug = true;
$this->user->getHttpClient()->withDebug();
}
protected function getProjectId()