function StatisticsReportsTestCase::testTopReferrers

Verifies that 'Top referrers' renders properly and displays the added hit.

File

drupal/modules/statistics/statistics.test, line 198
Tests for the Statistics module.

Class

StatisticsReportsTestCase
Tests that report pages render properly, and that access logging works.

Code

function testTopReferrers() {
  $this
    ->drupalGet('admin/reports/referrers');
  $this
    ->assertText('http://example.com', 'Hit referrer found.');
}