Bugzilla – Attachment 94041 Details for
Bug 23038
Expected warnings displayed by tests should be hidden
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23038: Remove unused stderr vars
Bug-23038-Remove-unused-stderr-vars.patch (text/plain), 1.45 KB, created by
Jonathan Druart
on 2019-10-14 07:47:51 UTC
(
hide
)
Description:
Bug 23038: Remove unused stderr vars
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-10-14 07:47:51 UTC
Size:
1.45 KB
patch
obsolete
>From 10795ff2f4b48cc81ddaa43280d0aeeea9e818f8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 14 Oct 2019 09:47:01 +0200 >Subject: [PATCH] Bug 23038: Remove unused stderr vars > >--- > t/db_dependent/Circulation/MarkIssueReturned.t | 1 - > t/db_dependent/Suggestions.t | 1 - > 2 files changed, 2 deletions(-) > >diff --git a/t/db_dependent/Circulation/MarkIssueReturned.t b/t/db_dependent/Circulation/MarkIssueReturned.t >index 6544ffbb65..26c8a06291 100644 >--- a/t/db_dependent/Circulation/MarkIssueReturned.t >+++ b/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 >diff --git a/t/db_dependent/Suggestions.t b/t/db_dependent/Suggestions.t >index c96c142f16..827e62a246 100644 >--- a/t/db_dependent/Suggestions.t >+++ b/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'; > >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23038
:
90278
|
90678
|
94041
|
94100
|
94101