From fe06b4ccd8faa23ebc2b67147fc9064b785a675b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 2 Jul 2008 20:05:11 +0000 Subject: - Patch #276581 by catch: wrote missing tests for contact module and simplified contact module thanks to that. Also removed some whitespace. --- modules/simpletest/drupal_web_test_case.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/simpletest/drupal_web_test_case.php') diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index 453824fba..2f3d40155 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -842,7 +842,7 @@ class DrupalWebTestCase { $upload = array(); $submit_matches = $this->handleForm($post, $edit, $upload, $submit, $form); $action = isset($form['action']) ? $this->getAbsoluteUrl($form['action']) : $this->getUrl(); - + // We post only if we managed to handle every field in edit and the // submit button matches. if (!$edit && $submit_matches) { -- cgit v1.2.3