projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46640aa
)
Revert "Tests: Datenbank-Meldungen immer in English zurückgeben"
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 10 Feb 2017 13:19:42 +0000
(14:19 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 10 Feb 2017 13:21:06 +0000
(14:21 +0100)
Dies revertet
e38b0b21c1e924cb0b1a21f6e2fe5db7d3258f70
, da der
Datenbankuser Superadmin sein muss, um lc_messages setzen zu
können.
t/Support/TestSetup.pm
patch
|
blob
|
history
diff --git
a/t/Support/TestSetup.pm
b/t/Support/TestSetup.pm
index
d74e66a
..
037cfb5
100644
(file)
--- a/
t/Support/TestSetup.pm
+++ b/
t/Support/TestSetup.pm
@@
-48,12
+48,6
@@
sub login {
$SIG{__DIE__} = sub { Carp::confess( @_ ) } if $::lx_office_conf{debug}->{backtrace_on_die};
- # Always use English locale for messages from the database during
- # tests.
- my $query = qq|SET lc_messages = 'en_US.UTF-8'|;
- SL::DB->auth->dbh->do($query) || die 'Cannot set database locale to en_US.UTF-8 for auth database';
- SL::DB->client->dbh->do($query) || die 'Cannot set database locale to en_US.UTF-8 for main database';
-
return 1;
}