Bugzilla – Attachment 65286 Details for
Bug 17829
Move GetMember to Koha::Patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17829: Execute rollingloans tests in a transaction
Bug-17829-Execute-rollingloans-tests-in-a-transact.patch (text/plain), 1010 bytes, created by
Jonathan Druart
on 2017-07-26 19:40:37 UTC
(
hide
)
Description:
Bug 17829: Execute rollingloans tests in a transaction
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-07-26 19:40:37 UTC
Size:
1010 bytes
patch
obsolete
>From d612184ac78dd5c984d060130765ce1f99962d6c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 26 Jul 2017 16:39:17 -0300 >Subject: [PATCH] Bug 17829: Execute rollingloans tests in a transaction > >--- > t/db_dependent/rollingloans.t | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > >diff --git a/t/db_dependent/rollingloans.t b/t/db_dependent/rollingloans.t >index 6be21101c1..75ec17f678 100644 >--- a/t/db_dependent/rollingloans.t >+++ b/t/db_dependent/rollingloans.t >@@ -1,7 +1,5 @@ > >-use strict; >-use warnings; >-use 5.010; >+use Modern::Perl; > use C4::Context; > use C4::Circulation; > use C4::Members; >@@ -11,6 +9,10 @@ use Koha::Patrons; > use t::lib::TestBuilder; > > use Test::More tests => 8; >+ >+my $schema = Koha::Database->new->schema; >+$schema->storage->txn_begin; >+ > C4::Context->_new_userenv(1234567); > C4::Context->set_userenv(91, 'CLIstaff', '23529001223661', 'CPL', > 'CPL', 'CPL', '', 'cc@cscnet.co.uk'); >-- >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 17829
:
64872
|
64873
|
64971
|
64972
|
64973
|
64976
|
65002
|
65213
| 65286 |
65549
|
65778
|
66360
|
68634