aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {