epic-ts
authorMichael Wagner <michael@wagnertech.de>
Tue, 8 Mar 2022 19:35:23 +0000 (20:35 +0100)
committerMichael Wagner <michael@wagnertech.de>
Tue, 8 Mar 2022 19:35:23 +0000 (20:35 +0100)
Test/perl/test_action.pl

index 904bb23..0f2e02a 100755 (executable)
@@ -13,16 +13,14 @@ $::lxdebug = new LXDebug;
 
 SL::DB->register_db(
   driver   => 'Pg',
-  database => 'dev_db',
+  database => 'firma',
   host     => 'localhost',
   username => 'kivitendo',
-  password => 'kivitemdo',
+  password => 'kivitendo',
 );
 
-#my $db = SL::DB::client;
-
-#my $dbh = SL::DB::dbi_connect("dbi:driver=Pg;dbname=firma;host=localhost;port=5432", "kivitendo", "kivitendo");
 my $db = SL::DB->new;
+my $dbh = $db->dbh;
 
 my $m = new SL::Controller::Mebil;
 $m->action_calcmap;