summaryrefslogtreecommitdiff
path: root/modules/locale/locale.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/locale/locale.test')
-rw-r--r--modules/locale/locale.test9
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/locale/locale.test b/modules/locale/locale.test
index 57413ec33..9a22b9abc 100644
--- a/modules/locale/locale.test
+++ b/modules/locale/locale.test
@@ -1296,6 +1296,7 @@ class LocalePathFunctionalTest extends DrupalWebTestCase {
$this->drupalLogout();
}
}
+
/**
* Functional tests for multilingual support on nodes.
*/
@@ -1417,8 +1418,6 @@ class LocaleContentFunctionalTest extends DrupalWebTestCase {
}
}
-
-
/**
* Test UI language negotiation
* 1. URL (PATH) > DEFAULT
@@ -1621,6 +1620,9 @@ class UILanguageNegotiationTest extends DrupalWebTestCase {
}
}
+/**
+ * Functional test for multilingual fields.
+ */
class LocaleMultilingualFieldsFunctionalTest extends DrupalWebTestCase {
public static function getInfo() {
return array(
@@ -1634,6 +1636,9 @@ class LocaleMultilingualFieldsFunctionalTest extends DrupalWebTestCase {
parent::setUp('locale');
}
+ /**
+ * Test if field languages are correctly set through the node form.
+ */
function testMultilingualNodeForm() {
// Setup users.
$admin_user = $this->drupalCreateUser(array('administer languages', 'administer content types', 'access administration pages', 'create page content', 'edit own page content'));