Bugzilla – Attachment 31042 Details for
Bug 12557
Cannot revert the changes done by AcqItemSetSubfieldsWhenReceived on canceling a receipt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 12557: UT: The item is not created
PASSED-QA-Bug-12557-UT-The-item-is-not-created.patch (text/plain), 1.16 KB, created by
Katrin Fischer
on 2014-08-21 09:25:04 UTC
(
hide
)
Description:
[PASSED QA] Bug 12557: UT: The item is not created
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-08-21 09:25:04 UTC
Size:
1.16 KB
patch
obsolete
>From e19ddbb27fadd2ace158914526d27cdd0d8a4a2a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 20 Aug 2014 12:15:06 +0200 >Subject: [PATCH] [PASSED QA] Bug 12557: UT: The item is not created > >The UT was buggy. I have just fix that in another patch on bug 12555. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > t/db_dependent/Acquisition/CancelReceipt.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/db_dependent/Acquisition/CancelReceipt.t b/t/db_dependent/Acquisition/CancelReceipt.t >index 7304dc3..b94e17f 100644 >--- a/t/db_dependent/Acquisition/CancelReceipt.t >+++ b/t/db_dependent/Acquisition/CancelReceipt.t >@@ -69,6 +69,7 @@ CancelReceipt($ordernumber); > my $order = GetOrder( $ordernumber ); > is(scalar GetItemnumbersFromOrder($order->{ordernumber}), 0, "Create items on receiving: 0 item exist after cancelling a receipt"); > >+$itemnumber = AddItem({}, $biblionumber); > t::lib::Mocks::mock_preference('AcqCreateItem', 'ordering'); > t::lib::Mocks::mock_preference('AcqItemSetSubfieldsWhenReceiptIsCancelled', '7=9'); # notforloan is mapped with 952$7 > ( undef, $ordernumber ) = C4::Acquisition::NewOrder( >-- >1.9.1
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 12557
:
29620
|
29621
|
30886
|
30887
|
31009
|
31039
|
31040
|
31041
| 31042 |
31043