Update JsonRPC library
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user