Bugzilla – Attachment 90881 Details for
Bug 23177
Rollback cleanup in Circulation.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23177: (QA follow-up) Move rollback to the end
Bug-23177-QA-follow-up-Move-rollback-to-the-end.patch (text/plain), 1.31 KB, created by
Marcel de Rooy
on 2019-06-21 09:18:34 UTC
(
hide
)
Description:
Bug 23177: (QA follow-up) Move rollback to the end
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2019-06-21 09:18:34 UTC
Size:
1.31 KB
patch
obsolete
>From 7177cb157aa7499b72ba65e237ec2c5512e4143f Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 21 Jun 2019 09:03:27 +0000 >Subject: [PATCH] Bug 23177: (QA follow-up) Move rollback to the end >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Circulation.t | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t >index bc15512167..173b7d66a9 100755 >--- a/t/db_dependent/Circulation.t >+++ b/t/db_dependent/Circulation.t >@@ -3037,9 +3037,6 @@ subtest 'AddReturn should clear items.onloan for unissued items' => sub { > is( $item->onloan, undef, 'AddReturn did clear items.onloan' ); > }; > >-$schema->storage->txn_rollback; >-C4::Context->clear_syspref_cache(); >-$cache->clear_from_cache('single_holidays'); > > subtest 'AddRenewal and AddIssuingCharge tests' => sub { > >@@ -3318,3 +3315,7 @@ subtest 'CanBookBeIssued & RentalFeesCheckoutConfirmation' => sub { > is_deeply( $needsconfirmation, { RENTALCHARGE => '3' }, 'Item needs rentalcharge confirmation to be issued, increment' ); > $itemtype->rentalcharge_daily('0')->store; > }; >+ >+$schema->storage->txn_rollback; >+C4::Context->clear_syspref_cache(); >+$cache->clear_from_cache('single_holidays'); >-- >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 23177
:
90880
|
90881
|
90882
|
90899
|
90900
|
90901
|
90902
|
92175