]> wagnertech.de Git - mfinanz.git/blobdiff - t/structure/globals.t
globale Variablen in ein Helfermodul ausgelagert
[mfinanz.git] / t / structure / globals.t
index 0a04c6f6f4a3449aa61662d89e70c434574cfc51..dca7369d54288a652420f7bd21922fddbcdac4c6 100644 (file)
@@ -3,11 +3,12 @@
 use strict;
 use lib 't';
 use Support::Files;
+use Support::CanonialGlobals ();
 
 my (@globals, $testcount);
 
 BEGIN {
-  @globals = qw(lxdebug auth myconfig form lx_office_conf locale dispatcher instance_conf request);
+  @globals = map { s/[^a-z_]//; $_ } @Support::CanonialGlobals::globals;
   $testcount = scalar(@Support::Files::testitems);
 }