summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-02 13:47:26 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-02 13:47:26 +0000
commit4f2e13f50376a9032f8157563aeb6eede34433eb (patch)
treea8462d9bee26edcf648b4bf0de25b426c0ffcfd8 /modules/simpletest/tests
parentcbd22269f81552616377090f6fe9187fdeb656d9 (diff)
downloadbrdo-4f2e13f50376a9032f8157563aeb6eede34433eb.tar.gz
brdo-4f2e13f50376a9032f8157563aeb6eede34433eb.tar.bz2
- Patch #422362 by JamesAn: convert form.inc to use new static caching API.
Diffstat (limited to 'modules/simpletest/tests')
-rw-r--r--modules/simpletest/tests/form.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/tests/form.test b/modules/simpletest/tests/form.test
index 991186ba3..46bc67b84 100644
--- a/modules/simpletest/tests/form.test
+++ b/modules/simpletest/tests/form.test
@@ -306,7 +306,7 @@ class FormsElementsTableSelectFunctionalTest extends DrupalWebTestCase {
// Clear errors and messages.
drupal_get_messages();
- form_set_error(NULL, '', TRUE);
+ form_clear_error();
// Return the processed form together with form_state and errors
// to allow the caller lowlevel access to the form.