Tests: In Datenbanksetup-Test $::instance_conf initialisieren
authorMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 8 Aug 2013 09:58:29 +0000 (11:58 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 8 Aug 2013 09:59:43 +0000 (11:59 +0200)
t/000setup_database.t

index b4ebd13..06b9296 100755 (executable)
@@ -10,6 +10,7 @@ use Test::More;
 use SL::Auth;
 use SL::DBConnect;
 use SL::Form;
+use SL::InstanceConfiguration;
 use SL::LXDebug;
 use SL::Layout::None;
 use SL::LxOfficeConf;
@@ -53,6 +54,7 @@ sub setup {
   $::form          = Form->new;
   $::auth          = SL::Auth->new(unit_tests_database => 1);
   $::locale        = Locale->new('de');
+  $::instance_conf = SL::InstanceConfiguration->new;
   $db_cfg          = $::lx_office_conf{'testing/database'};
 }