summaryrefslogtreecommitdiff
path: root/modules/locale/locale.test
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-15 17:53:34 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-15 17:53:34 +0000
commit977d635bb1705ecebae8783a5e629214986eaddf (patch)
tree5da3fbe936ec79ca2ee9d8131c0e12f36bb7670c /modules/locale/locale.test
parente1642603eac05665d959c3d63ea8d1efbe9e431a (diff)
downloadbrdo-977d635bb1705ecebae8783a5e629214986eaddf.tar.gz
brdo-977d635bb1705ecebae8783a5e629214986eaddf.tar.bz2
- Patch #332333 by dmitrig01, alexw: add a real API to path.module.
Diffstat (limited to 'modules/locale/locale.test')
-rw-r--r--modules/locale/locale.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/locale/locale.test b/modules/locale/locale.test
index 9a800303a..7932bada1 100644
--- a/modules/locale/locale.test
+++ b/modules/locale/locale.test
@@ -1268,8 +1268,8 @@ class LocalePathFunctionalTest extends DrupalWebTestCase {
$path = 'admin/config/search/path/add';
$english_path = $this->randomName(8);
$edit = array(
- 'src' => 'node/' . $node->nid,
- 'dst' => $english_path,
+ 'source' => 'node/' . $node->nid,
+ 'alias' => $english_path,
'language' => 'en',
);
$this->drupalPost($path, $edit, t('Create new alias'));
@@ -1277,8 +1277,8 @@ class LocalePathFunctionalTest extends DrupalWebTestCase {
// Create a path alias in new custom language.
$custom_language_path = $this->randomName(8);
$edit = array(
- 'src' => 'node/' . $node->nid,
- 'dst' => $custom_language_path,
+ 'source' => 'node/' . $node->nid,
+ 'alias' => $custom_language_path,
'language' => $langcode,
);
$this->drupalPost($path, $edit, t('Create new alias'));