Bugzilla – Attachment 165382 Details for
Bug 33237
If TranslateNotices is off, use the default language includes in slips
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33237: TMP Fix for Budget test failing in main
Bug-33237-TMP-Fix-for-Budget-test-failing-in-main.patch (text/plain), 1.32 KB, created by
Martin Renvoize (ashimema)
on 2024-04-23 12:45:33 UTC
(
hide
)
Description:
Bug 33237: TMP Fix for Budget test failing in main
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-04-23 12:45:33 UTC
Size:
1.32 KB
patch
obsolete
>From 0f8b98b7f8f53d3368668d01ebf8fd6783a46082 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 23 Apr 2024 12:15:38 +0100 >Subject: [PATCH] Bug 33237: TMP Fix for Budget test failing in main > >--- > t/db_dependent/Letters.t | 14 ++++++++++---- > 1 file changed, 10 insertions(+), 4 deletions(-) > >diff --git a/t/db_dependent/Letters.t b/t/db_dependent/Letters.t >index c20ef643291..b40b38cec46 100755 >--- a/t/db_dependent/Letters.t >+++ b/t/db_dependent/Letters.t >@@ -464,10 +464,16 @@ Koha::Acquisition::Bookseller::Contact->new( { name => 'John Smith', phone => ' > Koha::Acquisition::Bookseller::Contact->new( { name => 'Leo Tolstoy', phone => '0123456x2', claimissues => 1, booksellerid => $booksellerid } )->store; > my $basketno = NewBasket($booksellerid, 1, 'The basket name'); > >-my $budgetid = C4::Budgets::AddBudget({ >- budget_code => "budget_code_test_letters", >- budget_name => "budget_name_test_letters", >-}); >+my $budget = $builder->build_object( >+ { >+ class => 'Koha::Acquisition::Funds', >+ value => { >+ budget_code => "budget_code_test_letters", >+ budget_name => "budget_name_test_letters", >+ } >+ } >+); >+my $budgetid = $budget->id; > > my $bib = MARC::Record->new(); > if (C4::Context->preference('marcflavour') eq 'UNIMARC') { >-- >2.44.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 33237
:
148281
|
148785
|
163952
|
163953
|
164521
|
165382
|
165383
|
165384
|
165404
|
165405
|
165406
|
165455
|
165456
|
165457
|
165458
|
165459
|
165460
|
165473
|
165474
|
165475
|
165476
|
165477
|
165478
|
165479
|
165480
|
166860