summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-12-01 06:49:47 +0100
committerjake%acutex.net <>2001-12-01 06:49:47 +0100
commit709a4c037dc5113692aee18c5a85262613653a45 (patch)
treed3f7738fcca1eaca6d341af29f472f16bc372238 /t
parent8ea8a884620e83074bd9110c8c6813d60109255b (diff)
downloadbugzilla-709a4c037dc5113692aee18c5a85262613653a45.tar.gz
bugzilla-709a4c037dc5113692aee18c5a85262613653a45.tar.xz
Get the file list of files to scan for templates from Support::Files instead of glob('*')
Diffstat (limited to 't')
-rw-r--r--t/Support/Templates.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/Support/Templates.pm b/t/Support/Templates.pm
index c15611d46..c4fc3160a 100644
--- a/t/Support/Templates.pm
+++ b/t/Support/Templates.pm
@@ -22,12 +22,14 @@
package Support::Templates;
+use Support::Files;
+
$include_path = "template/default";
# Scan Bugzilla's code looking for templates used and put them
# in the @testitems array to be used by the template.t test.
-my @files = glob('*');
+my @files = @Support::Files::testitems;
my %t;
foreach my $file (@files) {