Bugzilla – Attachment 162597 Details for
Bug 36010
Items/AutomaticItemModificationByAge.t is failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36010: Fix Items/AutomaticItemModificationByAge.t failing since Bug 32029
Bug-36010-Fix-ItemsAutomaticItemModificationByAget.patch (text/plain), 1.85 KB, created by
Victor Grousset/tuxayo
on 2024-02-29 13:05:13 UTC
(
hide
)
Description:
Bug 36010: Fix Items/AutomaticItemModificationByAge.t failing since Bug 32029
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2024-02-29 13:05:13 UTC
Size:
1.85 KB
patch
obsolete
>From f256157f390d006de9fbc92ee04132993f891790 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Thu, 8 Feb 2024 12:23:30 +0100 >Subject: [PATCH] Bug 36010: Fix Items/AutomaticItemModificationByAge.t failing > since Bug 32029 > >UT is failing in jenkins. >Change to use biblio.copyrightdate instead of bilio.medium > >Run prove t/db_dependent/Items/AutomaticItemModificationByAge.t > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > t/db_dependent/Items/AutomaticItemModificationByAge.t | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/t/db_dependent/Items/AutomaticItemModificationByAge.t b/t/db_dependent/Items/AutomaticItemModificationByAge.t >index a1c6f73004..74532194b0 100755 >--- a/t/db_dependent/Items/AutomaticItemModificationByAge.t >+++ b/t/db_dependent/Items/AutomaticItemModificationByAge.t >@@ -47,7 +47,8 @@ $cache->clear_from_cache("MarcSubfieldStructure-$frameworkcode"); > my $record = MARC::Record->new(); > $record->append_fields( > MARC::Field->new( '100', ' ', ' ', a => 'Moffat, Steven' ), >- MARC::Field->new( '245', ' ', ' ', a => 'Silence in the library', h => 'Book' ), >+ MARC::Field->new( '245', ' ', ' ', a => 'Silence in the library' ), >+ MARC::Field->new( '260', ' ', ' ', c => '1999' ), > MARC::Field->new( '942', ' ', ' ', c => 'ITEMTYPE_T' ), > ); > my ($biblionumber, undef) = C4::Biblio::AddBiblio($record, $frameworkcode); >@@ -336,8 +337,8 @@ is( $modified_item->new_status, 'agefield_new_value', q|ToggleNewStatus: Age = 2 > # does not exist > conditions => [ > { >- field => 'biblio.medium', >- value => 'Book', >+ field => 'biblio.copyrightdate', >+ value => '1999', > }, > ], > substitutions => [ >-- >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 36010
:
161889
|
161959
| 162597