Current stable release of the main Drupal 7 GovCMS distribution, with releases mirrored at https://www.drupal.org/project/govcms
GNU General Public License v2.0
113
stars
76
forks
source link
[Govcmsd7 167] Local simpletest always gives “returned 0 (0 bytes)” #916
Closed
suhyeonh closed 4 years ago
Problem/Motivation
Whenever a test wants to make an HTTP request with $this->drupalGet(), the test reports a fail saying.
Proposed resolution
Check value of
$_SERVER['HTTP_HOST']
- 'http://nginx:8080'