X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/4058a47f317770d5cc5f5aa6b9f965b793f263bd..9c454191438763ec271c715cb2d2b81cc9e647ea:/Test/perl/test_action.pl diff --git a/Test/perl/test_action.pl b/Test/perl/test_action.pl index 660b7f343..904bb23bc 100755 --- a/Test/perl/test_action.pl +++ b/Test/perl/test_action.pl @@ -1,10 +1,28 @@ #!/usr/bin/perl use strict; -use SL::Controller::Mebil; +#use SL::Controller::Mebil; +use SL::DB; +use SL::Form; use SL::LXDebug; $::lxdebug = new LXDebug; +#$::form = new Form; + +#my $dbh = $::form->get_standard_dbh; + +SL::DB->register_db( + driver => 'Pg', + database => 'dev_db', + host => 'localhost', + username => 'kivitendo', + password => 'kivitemdo', +); + +#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 $m = new SL::Controller::Mebil; $m->action_calcmap;