public function MandrillReportsTestCase::testGetReportsData in Mandrill 7.2
Tests getting Mandrill reports data.
File
- modules/
mandrill_reports/ tests/ mandrill_reports.test, line 60 - Test class and methods for the Mandrill Reports module.
Class
- MandrillReportsTestCase
- @file Test class and methods for the Mandrill Reports module.
Code
public function testGetReportsData() {
$reports_data = mandrill_reports_data();
$this
->assertTrue(!empty($reports_data), 'Tested retrieving reports data.');
$this
->assertTrue(!empty($reports_data['user']), 'Tested user report data exists.');
$this
->assertTrue(!empty($reports_data['all_time_series']), 'Tested all time series report data exists.');
$this
->assertTrue(!empty($reports_data['urls']), 'Tested URLs report data exists.');
}