summaryrefslogtreecommitdiff
path: root/modules/path/path.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/path/path.test')
-rw-r--r--modules/path/path.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/path/path.test b/modules/path/path.test
index 2475a5382..628730117 100644
--- a/modules/path/path.test
+++ b/modules/path/path.test
@@ -37,7 +37,7 @@ class PathTestCase extends DrupalWebTestCase {
$edit = array();
$edit['src'] = 'node/' . $node1->nid;
$edit['dst'] = $this->randomName(8);
- $this->drupalPost('admin/build/path/add', $edit, t('Create new alias'));
+ $this->drupalPost('admin/settings/path/add', $edit, t('Create new alias'));
// Visit the system path for the node and confirm a cache entry is
// created.
@@ -62,7 +62,7 @@ class PathTestCase extends DrupalWebTestCase {
$edit = array();
$edit['src'] = 'node/' . $node1->nid;
$edit['dst'] = $this->randomName(8);
- $this->drupalPost('admin/build/path/add', $edit, t('Create new alias'));
+ $this->drupalPost('admin/settings/path/add', $edit, t('Create new alias'));
// Confirm that the alias works.
$this->drupalGet($edit['dst']);
@@ -73,7 +73,7 @@ class PathTestCase extends DrupalWebTestCase {
$previous = $edit['dst'];
$edit['dst'] = $this->randomName(8);
- $this->drupalPost('admin/build/path/edit/' . $pid, $edit, t('Update alias'));
+ $this->drupalPost('admin/settings/path/edit/' . $pid, $edit, t('Update alias'));
// Confirm that the alias works.
$this->drupalGet($edit['dst']);
@@ -90,13 +90,13 @@ class PathTestCase extends DrupalWebTestCase {
// Set alias to second test node.
$edit['src'] = 'node/' . $node2->nid;
// leave $edit['dst'] the same
- $this->drupalPost('admin/build/path/add', $edit, t('Create new alias'));
+ $this->drupalPost('admin/settings/path/add', $edit, t('Create new alias'));
// Confirm no duplicate was created.
$this->assertRaw(t('The alias %alias is already in use in this language.', array('%alias' => $edit['dst'])), 'Attempt to move alias was rejected.');
// Delete alias.
- $this->drupalPost('admin/build/path/delete/' . $pid, array(), t('Confirm'));
+ $this->drupalPost('admin/settings/path/delete/' . $pid, array(), t('Confirm'));
// Confirm that the alias no longer works.
$this->drupalGet($edit['dst']);