From 0c051df1083cea9290f7cd89fe6b5eee3f0835cf Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sun, 23 Mar 2008 02:51:50 +0000 Subject: [PATCH] Fix broken --only-phpt tests git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1630 48356398-32a2-884e-a903-53898d9a118a --- tests/index.php | 1 + tests/test_files.php | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/index.php b/tests/index.php index cfd6bf4c..3a164d5e 100755 --- a/tests/index.php +++ b/tests/index.php @@ -94,6 +94,7 @@ if (!$AC['disable-phpt']) { $test_files = array(); $test_dirs = array(); $test_dirs_exclude = array(); +$vtest_dirs = array(); $phpt_dirs = array(); require 'test_files.php'; // populates $test_files array diff --git a/tests/test_files.php b/tests/test_files.php index def93e22..b91f9dd5 100644 --- a/tests/test_files.php +++ b/tests/test_files.php @@ -16,7 +16,6 @@ if (!$AC['only-phpt']) { } // ConfigSchema Validator tests - $vtest_dirs = array(); $vtest_dirs[] = 'HTMLPurifier/ConfigSchema/Validator'; // ConfigDoc auxiliary library @@ -31,6 +30,5 @@ if (!$AC['only-phpt']) { // PHPT tests if (!$AC['disable-phpt']) { - $phpt_dirs = array(); $phpt_dirs[] = 'HTMLPurifier/PHPT'; }