diff --git a/config/config.inc.php b/config/config.inc.php index ae94b01af..92ce66bb5 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -31,7 +31,7 @@ * define('__DEBUG_DB_OUTPUT__', 0); * define('__LOG_SLOW_QUERY__', 0); * define('__OB_GZHANDLER_ENABLE__', 1); - * + * define('__ENABLE_PHPUNIT_TEST__', 0); * define('__PROXY_SERVER__', 'http://domain:port/path'); * ?> */ @@ -87,6 +87,13 @@ **/ if(!defined('__OB_GZHANDLER_ENABLE__')) define('__OB_GZHANDLER_ENABLE__', 1); + /** + * @brief php unit test (경로/tests/index.php) 의 실행 유무 지정 + * 0 : 사용하지 않음 + * 1 : 사용함 + **/ + if(!defined('__ENABLE_PHPUNIT_TEST__')) define('__ENABLE_PHPUNIT_TEST__', 0); + /** * @brief __PROXY_SERVER__ 는 대상 서버를 거쳐서 외부 요청을 하도록 하는 서버의 정보를 가지고 있음 * FileHandler::getRemoteResource 에서 이 상수를 사용함 diff --git a/tests/index.php b/tests/index.php index 13960f883..1f093d268 100644 --- a/tests/index.php +++ b/tests/index.php @@ -1,6 +1,9 @@