From 1a8d864a4246ebb4ee10a7ae165cbc468d8df842 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" <edwardzyang@thewritingpot.com> Date: Tue, 30 Oct 2007 02:26:11 +0000 Subject: [PATCH] Have tests also check for test-settings in conf file, this allows for configuration files to be separately versioned git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1427 48356398-32a2-884e-a903-53898d9a118a --- tests/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/index.php b/tests/index.php index 05554666..98d9e23b 100755 --- a/tests/index.php +++ b/tests/index.php @@ -17,6 +17,7 @@ $GLOBALS['HTMLPurifierTest']['PH5P'] = version_compare(PHP_VERSION, "5", ">=") & $simpletest_location = 'simpletest/'; // reasonable guess // load SimpleTest +if (file_exists('../conf/test-settings.php')) include '../conf/test-settings.php'; if (file_exists('../test-settings.php')) include '../test-settings.php'; require_once $simpletest_location . 'unit_tester.php'; require_once $simpletest_location . 'reporter.php';