From 10614f4ecf293c63aea6b60d094ef740f7f9c60e Mon Sep 17 00:00:00 2001 From: ADmad Date: Sun, 21 Dec 2014 14:26:36 +0530 Subject: [PATCH] Fix constant already defined error when running only Cache tests. --- tests/bootstrap.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index d000b8302f2..7bef9604883 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -19,7 +19,9 @@ require_once 'vendor/autoload.php'; -define('DS', DIRECTORY_SEPARATOR); +if (!defined('DS')) { + define('DS', DIRECTORY_SEPARATOR); +} define('ROOT', dirname(__DIR__)); define('APP_DIR', 'TestApp');