| 7 statistics.test | StatisticsReportsTestCase::testTopPages() |
| 8 statistics.test | StatisticsReportsTestCase::testTopPages() |
Verifies that 'Top pages' renders properly and displays the added hit.
File
- modules/
statistics/ statistics.test, line 169 - Tests for statistics.module.
Code
function testTopPages() {
$this->drupalGet('admin/reports/pages');
$this->assertText('test', t('Hit title found.'));
$this->assertText('node/1', t('Hit URL found.'));
}
Login or register to post comments