Tests: $::auth für Unit-Test-Datenbank anlegen
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 3 Jul 2013 10:03:03 +0000 (12:03 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 3 Jul 2013 10:03:03 +0000 (12:03 +0200)
t/Support/TestSetup.pm

index f7b43cd..c8095a9 100644 (file)
@@ -27,7 +27,7 @@ sub login {
   $::lxdebug->disable_sub_tracing;
   $::locale        = Locale->new($::lx_office_conf{system}->{language});
   $::form          = Form->new;
-  $::auth          = SL::Auth->new;
+  $::auth          = SL::Auth->new(unit_tests_database => 1);
   die "Cannot find client with ID or name '$client'" if !$::auth->set_client($client);
 
   $::instance_conf = SL::InstanceConfiguration->new;