function StatisticsReportsTestCase::testTopReferrers
Verifies that 'Top referrers' renders properly and displays the added hit.
Archivo
- drupal-7.x/
modules/ statistics/ statistics.test, line 183 - Tests for the Statistics module.
Class
- StatisticsReportsTestCase
- Tests that report pages render properly, and that access logging works.
Código
function testTopReferrers() {
$this->drupalGet('admin/reports/referrers');
$this->assertText('http://example.com', 'Hit referrer found.');
}