From 647f3541ae2236e4ecbcd7300bc88aba1d5eafe6 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Tue, 30 Jun 2009 18:21:06 +0000 Subject: #506124 by Bojhan: Move URL aliases path to site configuration. --- modules/path/path.test | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/path/path.test') 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']); -- cgit v1.2.3