Bugzilla – Attachment 129348 Details for
Bug 29860
Useless warnings in regressions.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29860: Remove item type-related warnings
Bug-29860-Remove-item-type-related-warnings.patch (text/plain), 1.36 KB, created by
Tomás Cohen Arazi
on 2022-01-12 14:16:19 UTC
(
hide
)
Description:
Bug 29860: Remove item type-related warnings
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2022-01-12 14:16:19 UTC
Size:
1.36 KB
patch
obsolete
>From 3e2bc601d62bf2373436fc0d9401b0680a8aec37 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 12 Jan 2022 11:15:10 -0300 >Subject: [PATCH] Bug 29860: Remove item type-related warnings > >To test: >1. Run: > $ kshell > k$ prove t/db_dependent/selenium/regressions.t >=> FAIL: You see several >item-level_itypes set but no itemtype set for item (985) at /kohadevbox/koha/Koha/Schema/Result/Item.pm line 905. >2. Apply this patch >3. Repeat 1 >=> SUCCESS: No more item type warnings >4. Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/selenium/regressions.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/selenium/regressions.t b/t/db_dependent/selenium/regressions.t >index aa7717f806..62177b0ad7 100755 >--- a/t/db_dependent/selenium/regressions.t >+++ b/t/db_dependent/selenium/regressions.t >@@ -122,10 +122,12 @@ subtest 'Display circulation table correctly' => sub { > ); > > my ( $biblionumber, $biblioitemnumber ) = add_biblio(); >+ my $item_type = $builder->build_object({ class => 'Koha::ItemTypes' }); > my $item = $builder->build_sample_item( > { > biblionumber => $biblionumber, > library => $library->branchcode, >+ itype => $item_type->itemtype, > } > ); > my $context = Test::MockModule->new('C4::Context'); >-- >2.32.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 29860
:
129348
|
135218
|
135221