From 76177e115ab947b8375e852c738520e34c6ae532 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Sat, 15 Nov 2014 20:32:31 +0100 Subject: [PATCH] test: fix for CLI --- tests/Bootstrap/Configurator.minimalContainer.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Bootstrap/Configurator.minimalContainer.phpt b/tests/Bootstrap/Configurator.minimalContainer.phpt index a3d42f8..c17b5b0 100644 --- a/tests/Bootstrap/Configurator.minimalContainer.phpt +++ b/tests/Bootstrap/Configurator.minimalContainer.phpt @@ -22,7 +22,7 @@ Assert::type( 'SystemContainer', $container ); Assert::same( array( 'appDir' => __DIR__, - 'wwwDir' => NULL, + 'wwwDir' => PHP_SAPI === 'cli' ? __DIR__ : NULL, 'debugMode' => FALSE, 'productionMode' => TRUE, 'environment' => 'production',