Bugzilla – Attachment 178074 Details for
Bug 36081
ArticleRequestsSupportedFormats not enforced server-side
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36081: (QA follow-up) Resolve IsNotDebit exception in ArticleRequests.t
Bug-36081-QA-follow-up-Resolve-IsNotDebit-exceptio.patch (text/plain), 1.27 KB, created by
Marcel de Rooy
on 2025-02-14 07:32:25 UTC
(
hide
)
Description:
Bug 36081: (QA follow-up) Resolve IsNotDebit exception in ArticleRequests.t
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2025-02-14 07:32:25 UTC
Size:
1.27 KB
patch
obsolete
>From 83f553aef105ef586088579911c0fe28396c9fed Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 14 Feb 2025 07:27:13 +0000 >Subject: [PATCH] Bug 36081: (QA follow-up) Resolve IsNotDebit exception in > ArticleRequests.t >Content-Type: text/plain; charset=utf-8 > >Resolve (when running ArticleRequests.t): >Exception 'Koha::Exceptions::Account::IsNotDebit' thrown 'Account line 326 is not a debit' > >This occurs after switching from ArticleRequest->new to TestBuilder. >TestBuilder creates an account line that has a credit_type_code and >a debit_type_code. (This could be fixed further somewhere else.) >For now, just setting debit_id to NULL. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/ArticleRequests.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/db_dependent/ArticleRequests.t b/t/db_dependent/ArticleRequests.t >index 1753edd4b2..905eab14b7 100755 >--- a/t/db_dependent/ArticleRequests.t >+++ b/t/db_dependent/ArticleRequests.t >@@ -79,6 +79,7 @@ my $article_request = $builder->build_object( > biblionumber => $item->biblionumber, > itemnumber => $item->itemnumber, > title => $article_request_title, >+ debit_id => undef, > } > } > )->request(); >-- >2.39.5
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 36081
:
162107
|
162113
|
177355
|
177356
|
177388
|
177389
|
177675
|
178020
|
178021
|
178022
|
178023
|
178024
|
178069
|
178070
|
178071
|
178072
|
178073
| 178074 |
178610
|
178611
|
178612
|
178613
|
178614
|
178615
|
181287