X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=t%2F000setup_database.t;h=53b5ffe44bc8925bb9af0ebbb9ab72746a0413f5;hb=e286e6ca8a50f39829a4a83ab30b951ba2fd1329;hp=5cf6a28923055cce6a491b9cbfee7dd94072d326;hpb=c301b22ef2104be9a6a80bf327bc7151fb27e898;p=kivitendo-erp.git diff --git a/t/000setup_database.t b/t/000setup_database.t index 5cf6a2892..53b5ffe44 100755 --- a/t/000setup_database.t +++ b/t/000setup_database.t @@ -66,7 +66,6 @@ sub drop_and_create_database { SL::DBConnect->get_options, ); - $::auth->reset; my $dbh_template = SL::DBConnect->connect(@dbi_options) || BAIL_OUT("No database connection to the template database: " . $DBI::errstr); my $auth_dbh = $::auth->dbconnect(1); @@ -75,8 +74,6 @@ sub drop_and_create_database { $auth_dbh->disconnect; dbh_do($dbh_template, "DROP DATABASE \"" . $db_cfg->{db} . "\"", message => "Database could not be dropped"); - - $::auth->reset; } dbg("Creating database");