You are here

public function DummyAcquiaLiftHttpClient::post in Acquia Lift Connector 7.2

Same name and namespace in other branches
  1. 7 tests/acquia_lift.test_classes.inc \DummyAcquiaLiftHttpClient::post()

Implements AcquiaLiftDrupalHttpClientInterface::post().

Overrides AcquiaLiftDrupalHttpClientInterface::post

File

tests/acquia_lift.test_classes.inc, line 181
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',
  ));
}