protected function AcquiaLiftTest::assertLogs in Acquia Lift Connector 7
Same name and namespace in other branches
- 7.2 tests/AcquiaLiftAPI.test \AcquiaLiftTest::assertLogs()
Asserts that the expected messages were logged to the logger.
Parameters
$expected_logs:
26 calls to AcquiaLiftTest::assertLogs()
- AcquiaLiftTest::assertConfidenceReportAPI in tests/
AcquiaLiftAPI.test - Helper function to call the confidence report endpoint and verify the API request.
- AcquiaLiftTest::testDeleteChoice in tests/
AcquiaLiftAPI.test - Test AcquiaLiftAPI->deleteChoice()
- AcquiaLiftTest::testDeleteDecision in tests/
AcquiaLiftAPI.test - Test AcquiaLiftAPI->deleteDecision()
- AcquiaLiftTest::testDeleteGoal in tests/
AcquiaLiftAPI.test - Test AcquiaLiftAPI->deleteGoal()
- AcquiaLiftTest::testDeletePoint in tests/
AcquiaLiftAPI.test - Test AcquiaLiftAPI->deletePoint()
File
- tests/
AcquiaLiftAPI.test, line 2071 - Unit tests for Acquia Lift module.
Class
- AcquiaLiftTest
- @file Unit tests for Acquia Lift module.
Code
protected function assertLogs($expected_logs) {
$logs = $this->logger
->getLogs();
$this
->assertEqual($expected_logs, $logs);
$this->logger
->clearLogs();
}