From 61fd6cd9854652b687b98a06ee5612b3265d960f Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 10 Feb 2017 14:19:42 +0100 Subject: [PATCH] =?utf8?q?Revert=20"Tests:=20Datenbank-Meldungen=20immer?= =?utf8?q?=20in=20English=20zur=C3=BCckgeben"?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Dies revertet e38b0b21c1e924cb0b1a21f6e2fe5db7d3258f70, da der Datenbankuser Superadmin sein muss, um lc_messages setzen zu können. --- t/Support/TestSetup.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/t/Support/TestSetup.pm b/t/Support/TestSetup.pm index d74e66a7b..037cfb547 100644 --- 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; } -- 2.20.1