diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-30 18:21:06 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-30 18:21:06 +0000 |
commit | 647f3541ae2236e4ecbcd7300bc88aba1d5eafe6 (patch) | |
tree | b618499b9203c7ab821fb1da478660dc0e20db0b /modules/path/path.test | |
parent | 7c3493c45bbc25a94b21ad1a3fca160fa67c4df1 (diff) | |
download | brdo-647f3541ae2236e4ecbcd7300bc88aba1d5eafe6.tar.gz brdo-647f3541ae2236e4ecbcd7300bc88aba1d5eafe6.tar.bz2 |
#506124 by Bojhan: Move URL aliases path to site configuration.
Diffstat (limited to 'modules/path/path.test')
-rw-r--r-- | modules/path/path.test | 10 |
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']); |