Bugzilla – Attachment 29163 Details for
Bug 12086
Hold priorities incorrect, when waiting status was reversed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12086: qa-followup: remove warning on launching unit tests
Bug-12086-qa-followup-remove-warning-on-launching-.patch (text/plain), 1.06 KB, created by
Jonathan Druart
on 2014-06-23 09:46:28 UTC
(
hide
)
Description:
Bug 12086: qa-followup: remove warning on launching unit tests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-06-23 09:46:28 UTC
Size:
1.06 KB
patch
obsolete
>From 6a7159c8fa7ccc91a5bb53e23c264764b1074e32 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 23 Jun 2014 11:43:48 +0200 >Subject: [PATCH] Bug 12086: qa-followup: remove warning on launching unit > tests > >Without this patch, the following warning appears: > t/db_dependent/Holds/RevertWaitingStatus.t .. Subroutine > C4::Context::userenv redefined at > t/db_dependent/Holds/RevertWaitingStatus.t line 25. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > t/db_dependent/Holds/RevertWaitingStatus.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/db_dependent/Holds/RevertWaitingStatus.t b/t/db_dependent/Holds/RevertWaitingStatus.t >index 4adde49..7b43edd 100755 >--- a/t/db_dependent/Holds/RevertWaitingStatus.t >+++ b/t/db_dependent/Holds/RevertWaitingStatus.t >@@ -22,6 +22,7 @@ $dbh->{RaiseError} = 1; > $dbh->do("DELETE FROM reserves"); > $dbh->do("DELETE FROM old_reserves"); > >+local $SIG{__WARN__} = sub { warn $_[0] unless $_[0] =~ /redefined/ }; > *C4::Context::userenv = \&Mock_userenv; > > sub Mock_userenv { >-- >2.0.0.rc2
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 12086
:
27262
|
27263
|
27406
|
27407
|
27428
|
28471
|
28482
|
28873
|
29162
| 29163