summaryrefslogtreecommitdiff
path: root/modules/simpletest/drupal_web_test_case.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-07-02 20:05:11 +0000
committerDries Buytaert <dries@buytaert.net>2008-07-02 20:05:11 +0000
commitfe06b4ccd8faa23ebc2b67147fc9064b785a675b (patch)
tree18322723050ef42cadd08614886c350116ef5731 /modules/simpletest/drupal_web_test_case.php
parentca144061cb72903c7f9e78286f964c41acc51bfe (diff)
downloadbrdo-fe06b4ccd8faa23ebc2b67147fc9064b785a675b.tar.gz
brdo-fe06b4ccd8faa23ebc2b67147fc9064b785a675b.tar.bz2
- Patch #276581 by catch: wrote missing tests for contact module and simplified contact module thanks to that. Also removed some whitespace.
Diffstat (limited to 'modules/simpletest/drupal_web_test_case.php')
-rw-r--r--modules/simpletest/drupal_web_test_case.php2
1 files changed, 1 insertions, 1 deletions
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) {