StatisticsReportsTestCase::testDetails

7 statistics.test StatisticsReportsTestCase::testDetails()
8 statistics.test StatisticsReportsTestCase::testDetails()

Verifies that 'Details' page renders properly and displays the added hit.

File

modules/statistics/statistics.test, line 186
Tests for statistics.module.

Code

function testDetails() {
  $this->drupalGet('admin/reports/access/1');
  $this->assertText('test', t('Hit title found.'));
  $this->assertText('node/1', t('Hit URL found.'));
  $this->assertText('Anonymous', t('Hit user found.'));
}
Login or register to post comments