You are here

public static function DummyAcquiaLiftHttpClient::getLoggedRequests in Acquia Lift Connector 7

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

Returns all requests that have been made to this client.

Return value

array An array of requests

5 calls to DummyAcquiaLiftHttpClient::getLoggedRequests()
AcquiaLiftTest::assertAPIRequests in tests/AcquiaLiftAPI.test
Asserts that the expected requests were made to the http client.
AcquiaLiftWebTestReports::testPerGoalReport in tests/acquia_lift.test
AcquiaLiftWebTestReports::testReportEndDate in tests/acquia_lift.test
AcquiaLiftWebTestWorkflow::testVerificationChecks in tests/acquia_lift.test
Tests the effect of the acquia_lift_unibar_allow_status_change variable to prevent verification checks on every page load.
ALProfilesAPITest::assertAPIRequests in acquia_lift_profiles/tests/acquia_lift_profiles_unit.test
Asserts that the expected requests were made to the http client.

File

tests/acquia_lift.test_classes.inc, line 111
Provides test classes for Acquia Lift

Class

DummyAcquiaLiftHttpClient
Classes used for testing.

Code

public static function getLoggedRequests() {
  return self::$requests_received;
}