X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=t%2F000setup_database.t;h=f61c8a3c1a52207aeeb367356602a62edf5ed572;hb=9fb7773a7849d2862e19d0b2a63414c49df0c37a;hp=e5031d1f9178e7d62d1fefd2edb49f2898b789ed;hpb=ac9129294850cbe9f04119b3cbcf2a475ad8f4ba;p=kivitendo-erp.git diff --git a/t/000setup_database.t b/t/000setup_database.t index e5031d1f9..f61c8a3c1 100755 --- a/t/000setup_database.t +++ b/t/000setup_database.t @@ -14,6 +14,7 @@ use SL::InstanceConfiguration; use SL::LXDebug; use SL::Layout::None; use SL::LxOfficeConf; +use Support::TestSetup; our ($db_cfg, $dbh); @@ -51,7 +52,7 @@ sub setup { $::lxdebug = LXDebug->new(target => LXDebug::STDERR_TARGET); $::lxdebug->disable_sub_tracing; $::locale = Locale->new($::lx_office_conf{system}->{language}); - $::form = Form->new; + $::form = Support::TestSetup->create_new_form; $::auth = SL::Auth->new(unit_tests_database => 1); $::locale = Locale->new('de'); $::instance_conf = SL::InstanceConfiguration->new;