summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhass2010-01-27 23:51:51 (GMT)
committer hass2010-01-27 23:51:51 (GMT)
commit097e118e30b8fb91fed16212bde82b70e4f914df (patch)
tree5130f9ade6c34356c25c5266c136a1654d59cb5a
parentcea84b0bfaf688d4d9839baa8ed33a45dd0b6829 (diff)
#695998: Broken links
-rw-r--r--README.txt2
-rw-r--r--googleanalytics.module2
-rw-r--r--tests/googleanalytics_basic.test8
3 files changed, 6 insertions, 6 deletions
diff --git a/README.txt b/README.txt
index d8ce172..26654af 100644
--- a/README.txt
+++ b/README.txt
@@ -36,7 +36,7 @@ your browser.
New approach to page tracking in 5.x-1.5 and 6.x-1.1
====================================================
With 5.x-1.5 and 6.x-1.1 there are new settings on the settings page at
-admin/settings/googleanalytics. The "Page specific tracking" area now
+admin/config/system/googleanalytics. The "Page specific tracking" area now
comes with an interface that copies Drupal's block visibility settings.
The default is set to "Add to every page except the listed pages". By
diff --git a/googleanalytics.module b/googleanalytics.module
index d5340ef..f39d2f5 100644
--- a/googleanalytics.module
+++ b/googleanalytics.module
@@ -235,7 +235,7 @@ function googleanalytics_requirements($phase) {
if (!preg_match('/^UA-\d{4,}-\d+$/', variable_get('googleanalytics_account', 'UA-'))) {
$requirements['googleanalytics'] = array(
'title' => t('Google Analytics module'),
- 'description' => t('Google Analytics module has not been configured yet. Please configure its settings from the <a href="@url">Google Analytics settings page</a>.', array('@url' => url('admin/settings/googleanalytics'))),
+ 'description' => t('Google Analytics module has not been configured yet. Please configure its settings from the <a href="@url">Google Analytics settings page</a>.', array('@url' => url('admin/config/system/googleanalytics'))),
'severity' => REQUIREMENT_ERROR,
'value' => t('Not configured'),
);
diff --git a/tests/googleanalytics_basic.test b/tests/googleanalytics_basic.test
index 8afe46b..07da87b 100644
--- a/tests/googleanalytics_basic.test
+++ b/tests/googleanalytics_basic.test
@@ -27,12 +27,12 @@ class GoogleAnalyticsBasicTest extends DrupalWebTestCase {
public function testGoogleAnalytics() {
// Check for setting page's presence.
- $this->drupalGet('admin/settings/googleanalytics');
+ $this->drupalGet('admin/config/system/googleanalytics');
$this->assertRaw(t('Google Analytics account number'), '[testGoogleAnalytics]: Settings page displayed.');
// Check for account code validation.
$edit['googleanalytics_account'] = $this->randomName(2);
- $this->drupalPost('admin/settings/googleanalytics', $edit, 'Save configuration');
+ $this->drupalPost('admin/config/system/googleanalytics', $edit, 'Save configuration');
$this->assertRaw(t('A valid Google Analytics account number is case sensitive and formatted like UA-xxxxxx-x.'), '[testGoogleAnalytics]: Invalid account number validated.');
}
@@ -63,7 +63,7 @@ class GoogleAnalyticsBasicTest extends DrupalWebTestCase {
// Test whether tracking code is not included on pages to omit.
$this->drupalGet('admin');
$this->assertNoRaw($ua_code, '[testGoogleAnalyticsTracking]: Tracking code is not displayed on admin page.');
- $this->drupalGet('admin/settings/googleanalytics');
+ $this->drupalGet('admin/config/system/googleanalytics');
// Checking for tracking code URI here, as $ua_code is displayed in the form.
$this->assertNoRaw('google-analytics.com/ga.js', '[testGoogleAnalyticsTracking]: Tracking code is not displayed on admin subpage.');
@@ -71,7 +71,7 @@ class GoogleAnalyticsBasicTest extends DrupalWebTestCase {
variable_set('googleanalytics_visibility', 1);
$this->drupalGet('admin');
$this->assertRaw($ua_code, '[testGoogleAnalyticsTracking]: Tracking code is displayed on admin page.');
- $this->drupalGet('admin/settings/googleanalytics');
+ $this->drupalGet('admin/config/system/googleanalytics');
// Checking for tracking code URI here, as $ua_code is displayed in the form.
$this->assertRaw('google-analytics.com/ga.js', '[testGoogleAnalyticsTracking]: Tracking code is displayed on admin subpage.');
$this->drupalGet('');