Bugzilla – Attachment 51049 Details for
Bug 16390
Accounts.t does not need MPL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16390: Accounts.t does not need MPL
Bug-16390-Accountst-does-not-need-MPL.patch (text/plain), 1.36 KB, created by
Marc Véron
on 2016-04-30 09:16:41 UTC
(
hide
)
Description:
Bug 16390: Accounts.t does not need MPL
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-04-30 09:16:41 UTC
Size:
1.36 KB
patch
obsolete
>From 71e6f98709236d8a7c09f2f6add73bbb35ad159e Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 29 Apr 2016 08:01:26 +0200 >Subject: [PATCH] Bug 16390: Accounts.t does not need MPL >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This test fails if you do not have a MPL branch, but a closer look shows >that we only need to replace one occurrence. > >Test plan: >Run Accounts.t > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > t/db_dependent/Accounts.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Accounts.t b/t/db_dependent/Accounts.t >index ee92a48..56cc1b4 100644 >--- a/t/db_dependent/Accounts.t >+++ b/t/db_dependent/Accounts.t >@@ -107,7 +107,7 @@ my @test_data = ( > { amount => -5 , days_ago => $days + 1 , description =>'purge_zero_balance_fees should not delete fees with negative amout owed after threshold day' , delete => 0 } > ); > >-my $borrower = Koha::Patron->new( { firstname => 'Test', surname => 'Patron', categorycode => 'PT', branchcode => 'MPL' } )->store(); >+my $borrower = Koha::Patron->new( { firstname => 'Test', surname => 'Patron', categorycode => 'PT', branchcode => $branchcode } )->store(); > > for my $data ( @test_data ) { > $sth->execute($borrower->borrowernumber, $data->{amount}, $data->{days_ago}, $data->{description}); >-- >1.7.10.4
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 16390
:
50979
|
51049
|
51092