1
0
mirror of https://github.com/ovh/php-ovh.git synced 2023-11-05 03:20:26 +01:00

Cleanup comments

This commit is contained in:
Stéphane HULARD 2016-04-04 19:07:25 +02:00
parent ed48ac6ed1
commit 5fbcdf06b2

View File

@ -303,9 +303,6 @@ class ApiTest extends \PHPUnit_Framework_TestCase
->withQuery('')); ->withQuery(''));
return $request; return $request;
})); }));
//$handlerStack->push(Middleware::mapResponse(function (Response $response) {
// return $response;
//}));
$api = new Api($this->application_key, $this->application_secret, $this->endpoint, $this->consumer_key, $this->client); $api = new Api($this->application_key, $this->application_secret, $this->endpoint, $this->consumer_key, $this->client);
$api->get('/me/api/credential?applicationId=49', ['status' => 'pendingValidation']); $api->get('/me/api/credential?applicationId=49', ['status' => 'pendingValidation']);
@ -331,9 +328,6 @@ class ApiTest extends \PHPUnit_Framework_TestCase
->withQuery('')); ->withQuery(''));
return $request; return $request;
})); }));
//$handlerStack->push(Middleware::mapResponse(function (Response $response) {
// return $response;
//}));
$api = new Api($this->application_key, $this->application_secret, $this->endpoint, $this->consumer_key, $this->client); $api = new Api($this->application_key, $this->application_secret, $this->endpoint, $this->consumer_key, $this->client);
$api->get('/me/api/credential?applicationId=49&status=pendingValidation', ['status' => 'expired', 'test' => "success"]); $api->get('/me/api/credential?applicationId=49&status=pendingValidation', ['status' => 'expired', 'test' => "success"]);
@ -359,9 +353,6 @@ class ApiTest extends \PHPUnit_Framework_TestCase
->withQuery('')); ->withQuery(''));
return $request; return $request;
})); }));
//$handlerStack->push(Middleware::mapResponse(function (Response $response) {
// return $response;
//}));
$api = new Api($this->application_key, $this->application_secret, $this->endpoint, $this->consumer_key, $this->client); $api = new Api($this->application_key, $this->application_secret, $this->endpoint, $this->consumer_key, $this->client);
$api->get('/me/api/credential', ['dryRun' => true, 'notDryRun' => false]); $api->get('/me/api/credential', ['dryRun' => true, 'notDryRun' => false]);