From: Moritz Bunkus Date: Wed, 3 Jul 2013 10:03:03 +0000 (+0200) Subject: Tests: $::auth für Unit-Test-Datenbank anlegen X-Git-Tag: release-3.1.0beta1~216 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ef9698b3c0b6536298e6b6512c1d4e5d0aa48c67;p=kivitendo-erp.git Tests: $::auth für Unit-Test-Datenbank anlegen --- diff --git a/t/Support/TestSetup.pm b/t/Support/TestSetup.pm index f7b43cd0d..c8095a993 100644 --- a/t/Support/TestSetup.pm +++ b/t/Support/TestSetup.pm @@ -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;