summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/form.test
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-03 19:16:04 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-03 19:16:04 +0000
commitb5447770959e9d447e53e21e63faa98fcc1db329 (patch)
tree3f38cba8adefd9108019b010cde327e68bec0ebb /modules/simpletest/tests/form.test
parentb5199f2297c7cac6d03980bea6be9a02bbdf1738 (diff)
downloadbrdo-b5447770959e9d447e53e21e63faa98fcc1db329.tar.gz
brdo-b5447770959e9d447e53e21e63faa98fcc1db329.tar.bz2
- Patch #464862 by JohnAlbin, sun, dereine | dvessel, Jacine, Zarabadoo: added drupal_css_class() to clean class names and rename form_clean_id().
Diffstat (limited to 'modules/simpletest/tests/form.test')
-rw-r--r--modules/simpletest/tests/form.test30
1 files changed, 0 insertions, 30 deletions
diff --git a/modules/simpletest/tests/form.test b/modules/simpletest/tests/form.test
index 855fb3d08..fb922ec8c 100644
--- a/modules/simpletest/tests/form.test
+++ b/modules/simpletest/tests/form.test
@@ -333,36 +333,6 @@ class FormsElementsTableSelectFunctionalTest extends DrupalWebTestCase {
}
/**
- * Test the form_clean_id() for expected behavior.
- */
-class FormsFormCleanIdFunctionalTest extends DrupalWebTestCase {
-
- public static function getInfo() {
- return array(
- 'name' => 'form_clean_id() test',
- 'description' => 'Test the function form_clean_id() for expected behavior',
- 'group' => 'Form API',
- );
- }
-
- function setUp() {
- parent::setUp('form_test');
- }
-
- /**
- * Test the uniqueness of the form_clean_id() function.
- */
- function testFormCleanId() {
- $this->drupalGet('form_test/form_clean_id');
- $this->assertNoUniqueText('form-test-form-clean-id-presence');
- $this->assertUniqueText('form-test-form-clean-id-presence-1');
- $this->assertUniqueText('form-test-form-clean-id-presence-2');
- $this->assertNoUniqueText('Test Textfield');
- }
-
-}
-
-/**
* Test using drupal_form_submit in a batch.
*/
class FormAPITestCase extends DrupalWebTestCase {