Bugzilla – Attachment 118522 Details for
Bug 27636
Replace Koha::Account::pay with a simpler method
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27636: Update failing test
Bug-27636-Update-failing-test.patch (text/plain), 974 bytes, created by
Martin Renvoize (ashimema)
on 2021-03-19 12:07:22 UTC
(
hide
)
Description:
Bug 27636: Update failing test
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-03-19 12:07:22 UTC
Size:
974 bytes
patch
obsolete
>From ebaf7f7fa9b5692b6b285a5dd649d3e2e813f7d4 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 19 Mar 2021 12:06:31 +0000 >Subject: [PATCH] Bug 27636: Update failing test > >It would appear that ->pay didn't fully respect AccountAutoReconcile! >--- > t/db_dependent/Koha/Account.t | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/t/db_dependent/Koha/Account.t b/t/db_dependent/Koha/Account.t >index eeea99cc42..f159aaaa94 100755 >--- a/t/db_dependent/Koha/Account.t >+++ b/t/db_dependent/Koha/Account.t >@@ -856,6 +856,9 @@ subtest 'pay() handles lost items when paying by amount ( not specifying the los > plan tests => 4; > > $schema->storage->txn_begin; >+ >+ # Enable AccountAutoReconcile >+ t::lib::Mocks::mock_preference( 'AccountAutoReconcile', 1 ); > > my $patron = $builder->build_object( { class => 'Koha::Patrons' } ); > my $library = $builder->build_object( { class => 'Koha::Libraries' } ); >-- >2.20.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 27636
:
116393
|
118471
|
118515
|
118516
|
118522
|
118523
|
119205
|
119206
|
119207
|
119242
|
119243
|
119244
|
120022
|
120023
|
120024
|
120089
|
120090
|
120091
|
120257
|
120258
|
120259
|
120262
|
120263
|
120270
|
120271
|
120272
|
120276
|
120294
|
120343
|
120344
|
120345