| 7 statistics.test | StatisticsReportsTestCase::testTopReferrers() |
| 8 statistics.test | StatisticsReportsTestCase::testTopReferrers() |
Verifies that 'Top referrers' renders properly and displays the added hit.
File
- modules/
statistics/ statistics.test, line 178 - Tests for statistics.module.
Code
function testTopReferrers() {
$this->drupalGet('admin/reports/referrers');
$this->assertText('http://example.com', t('Hit referrer found.'));
}
Login or register to post comments