Browse Source

Bug 23038: Remove unused stderr vars

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
remotes/origin/19.11.x
Jonathan Druart 3 years ago
committed by Martin Renvoize
parent
commit
77884d6c76
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 1
      t/db_dependent/Circulation/MarkIssueReturned.t
  2. 1
      t/db_dependent/Suggestions.t

1
t/db_dependent/Circulation/MarkIssueReturned.t

@ -177,7 +177,6 @@ subtest 'Manually pass a return date' => sub {
{
# Hiding the expected warning displayed by DBI
# DBD::mysql::st execute failed: Incorrect datetime value: 'bad_date' for column 'returndate'
my $stderr;
local *STDERR;
open STDERR, '>', '/dev/null';
throws_ok

1
t/db_dependent/Suggestions.t

@ -253,7 +253,6 @@ is ($messages->[0]->{message_transport_type}, 'email', 'When FallbackToSMSIfNoEm
{
# Hiding the expected warning displayed by DBI
# DBD::mysql::st execute failed: Incorrect date value: 'invalid date!' for column 'manageddate'
my $stderr;
local *STDERR;
open STDERR, '>', '/dev/null';

Loading…
Cancel
Save