summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/googleanalytics_basic.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/googleanalytics_basic.test b/tests/googleanalytics_basic.test
index 7cd8b7e..8afe46b 100644
--- a/tests/googleanalytics_basic.test
+++ b/tests/googleanalytics_basic.test
@@ -15,7 +15,7 @@ class GoogleAnalyticsBasicTest extends DrupalWebTestCase {
);
}
- function setUp() {
+ public function setUp() {
parent::setUp('googleanalytics');
$permissions = array('administer google analytics');
@@ -25,7 +25,7 @@ class GoogleAnalyticsBasicTest extends DrupalWebTestCase {
$this->drupalLogin($user);
}
- function testGoogleAnalytics() {
+ public function testGoogleAnalytics() {
// Check for setting page's presence.
$this->drupalGet('admin/settings/googleanalytics');
$this->assertRaw(t('Google Analytics account number'), '[testGoogleAnalytics]: Settings page displayed.');
@@ -36,7 +36,7 @@ class GoogleAnalyticsBasicTest extends DrupalWebTestCase {
$this->assertRaw(t('A valid Google Analytics account number is case sensitive and formatted like UA-xxxxxx-x.'), '[testGoogleAnalytics]: Invalid account number validated.');
}
- function testGoogleAnalyticsTracking() {
+ public function testGoogleAnalyticsTracking() {
// Set visibility to hide tracking code on admin page only,
// track authenticated users.
variable_set('googleanalytics_visibility', 0);