diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-24 19:00:31 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-24 19:00:31 +0000 |
commit | 120ce90f90ba55f24f06d8072f7b30ab49e69088 (patch) | |
tree | 42544e5c7be52eeb9644f83dd3b88e7a15b56b8f /scripts/run-tests.sh | |
parent | 991ff539c32bb61bffb4b41d132bb3b8b35c8ece (diff) | |
download | brdo-120ce90f90ba55f24f06d8072f7b30ab49e69088.tar.gz brdo-120ce90f90ba55f24f06d8072f7b30ab49e69088.tar.bz2 |
#312883 by moshe weitzman: Fix REQUEST_METHOD notice in run-tests.sh.
Diffstat (limited to 'scripts/run-tests.sh')
-rwxr-xr-x | scripts/run-tests.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index cd36aec36..785ce3ce4 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -259,6 +259,7 @@ function simpletest_script_init() { $_SERVER['SERVER_SOFTWARE'] = 'Apache'; $_SERVER['SERVER_NAME'] = 'localhost'; $_SERVER['REQUEST_URI'] = $path .'/'; + $_SERVER['REQUEST_METHOD'] = 'GET'; $_SERVER['SCRIPT_NAME'] = $path .'/index.php'; $_SERVER['PHP_SELF'] = $path .'/index.php'; $_SERVER['HTTP_USER_AGENT'] = 'Drupal command line'; |