diff options
Diffstat (limited to 'tests/PHPUnit/bootstrap.php')
-rw-r--r-- | tests/PHPUnit/bootstrap.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/PHPUnit/bootstrap.php b/tests/PHPUnit/bootstrap.php index c5bc17aa18..88e5362054 100644 --- a/tests/PHPUnit/bootstrap.php +++ b/tests/PHPUnit/bootstrap.php @@ -54,6 +54,7 @@ function setPiwikDomainFromEnvVar() $piwikDomain = getenv('PIWIK_DOMAIN'); if (!empty($piwikDomain)) { $_SERVER['HTTP_HOST'] = $piwikDomain; + $_SERVER['SERVER_NAME'] = $piwikDomain; } } |