diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-01-30 07:59:26 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-01-30 07:59:26 +0000 |
commit | ea51c3215bc3defc45e87619f7b2232f85895fef (patch) | |
tree | dcef9202a1fec6385914c4ee48b13e80c25f3ce2 /modules/statistics | |
parent | 1e8da1f9ae32ccd1c6d19e24215e1cb293e97bbf (diff) | |
download | brdo-ea51c3215bc3defc45e87619f7b2232f85895fef.tar.gz brdo-ea51c3215bc3defc45e87619f7b2232f85895fef.tar.bz2 |
- Patch #606526 by axyjo, scor: remove trailing whitespaces and add newlines at end of files.
Diffstat (limited to 'modules/statistics')
-rw-r--r-- | modules/statistics/statistics.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/statistics/statistics.test b/modules/statistics/statistics.test index e8d0ae8ce..cd312f679 100644 --- a/modules/statistics/statistics.test +++ b/modules/statistics/statistics.test @@ -44,7 +44,7 @@ class StatisticsReportsTestCase extends StatisticsTestCase { 'group' => 'Statistics' ); } - + /** * Verifies that 'Recent hits' renders properly and displays the added hit. */ @@ -179,7 +179,7 @@ class StatisticsBlockVisitorsTestCase extends StatisticsTestCase { class StatisticsAdminTestCase extends DrupalWebTestCase { protected $privileged_user; protected $test_node; - + public static function getInfo() { return array( 'name' => 'Test statistics admin.', @@ -218,7 +218,7 @@ class StatisticsAdminTestCase extends DrupalWebTestCase { $this->drupalGet('admin/reports/pages'); $this->assertText('node/1', t('Test node found.')); - // Hit the node again (the counter is incremented after the hit, so + // Hit the node again (the counter is incremented after the hit, so // "1 read" will actually be shown when the node is hit the second time). $this->drupalGet('node/' . $this->test_node->nid); $this->assertText('1 read', t('Node is read once.')); @@ -298,7 +298,7 @@ class StatisticsAdminTestCase extends DrupalWebTestCase { // statistics_cron will subtract the statistics_flush_accesslog_timer // variable from REQUEST_TIME in the delete query, so wait two secs here to // make sure the access log will be flushed for the node just hit. - sleep(2); + sleep(2); $this->cronRun(); $this->drupalGet('admin/reports/pages'); |