public function DummyAcquiaLiftHttpClient::post in Acquia Lift Connector 7
Same name and namespace in other branches
- 7.2 tests/acquia_lift.test_classes.inc \DummyAcquiaLiftHttpClient::post()
Implements AcquiaLiftDrupalHttpClientInterface::post().
Overrides AcquiaLiftDrupalHttpClientInterface::post
File
- tests/
acquia_lift.test_classes.inc, line 275 - Provides test classes for Acquia Lift
Class
- DummyAcquiaLiftHttpClient
- Classes used for testing.
Code
public function post($uri = null, $headers = null, $body = null, array $options = array()) {
$this
->logRequest('post', $uri, $headers, $options, $body);
return $this
->generateDummyResponse(array(
'status' => 'ok',
));
}