function StatisticsReportsTestCase::testTopReferrers

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

File

modules/statistics/statistics.test, line 202

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.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.