projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Verbindlichkeits-/Forderungskonto bei Kred-/debitoren mit Standardkonto
[kivitendo-erp.git]
/
scripts
/
rose_auto_create_model.pl
diff --git
a/scripts/rose_auto_create_model.pl
b/scripts/rose_auto_create_model.pl
index
dc3d017
..
111b0c7
100755
(executable)
--- a/
scripts/rose_auto_create_model.pl
+++ b/
scripts/rose_auto_create_model.pl
@@
-430,8
+430,6
@@
sub drop_and_create_test_database {
$auth_dbh->disconnect;
dbh_do($dbh_template, "DROP DATABASE \"" . $db_cfg->{db} . "\"", message => "Database could not be dropped");
$auth_dbh->disconnect;
dbh_do($dbh_template, "DROP DATABASE \"" . $db_cfg->{db} . "\"", message => "Database could not be dropped");
-
- $::auth->reset;
}
notice("Creating database");
}
notice("Creating database");
@@
-466,6
+464,8
@@
sub drop_and_create_test_database {
apply_upgrades(auth => 1, dbh => $dbh);
apply_upgrades(auth => 1, dbh => $dbh);
+ $::auth->reset;
+
notice("Creating client, user, group and employee");
dbh_do($dbh, qq|DELETE FROM auth.clients|);
notice("Creating client, user, group and employee");
dbh_do($dbh, qq|DELETE FROM auth.clients|);