Revision ef9698b3
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
t/Support/TestSetup.pm | ||
---|---|---|
27 | 27 |
$::lxdebug->disable_sub_tracing; |
28 | 28 |
$::locale = Locale->new($::lx_office_conf{system}->{language}); |
29 | 29 |
$::form = Form->new; |
30 |
$::auth = SL::Auth->new; |
|
30 |
$::auth = SL::Auth->new(unit_tests_database => 1);
|
|
31 | 31 |
die "Cannot find client with ID or name '$client'" if !$::auth->set_client($client); |
32 | 32 |
|
33 | 33 |
$::instance_conf = SL::InstanceConfiguration->new; |
Auch abrufbar als: Unified diff
Tests: $::auth für Unit-Test-Datenbank anlegen