protected function AcquiaLiftTest::assertLogs in Acquia Lift Connector 7.2
Same name and namespace in other branches
- 7 tests/AcquiaLiftAPI.test \AcquiaLiftTest::assertLogs()
Asserts that the expected messages were logged to the logger.
Parameters
$expected_logs:
5 calls to AcquiaLiftTest::assertLogs()
- AcquiaLiftTest::testGetAgent in tests/
AcquiaLiftAPI.test - Test AcquiaLiftAPI->getAgent()
- AcquiaLiftTest::testGetCampaigns in tests/
AcquiaLiftAPI.test - Test AcquiaLiftAPI->getExistingAgents()
- AcquiaLiftTest::testSaveCampaign in tests/
AcquiaLiftAPI.test - Tests the saveCampaign method.
- AcquiaLiftTest::testSaveDecisionSet in tests/
AcquiaLiftAPI.test - Test AcquiaLiftAPI->saveDecisionSet()
- AcquiaLiftTest::testSaveGoal in tests/
AcquiaLiftAPI.test - Test AcquiaLiftAPI->saveGoal()
File
- tests/
AcquiaLiftAPI.test, line 635 - 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();
}