Bugzilla – Attachment 85781 Details for
Bug 20664
Optimize retrieval of biblio and item data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20664: (follow-up) Fix tests on rebase
Bug-20664-follow-up-Fix-tests-on-rebase.patch (text/plain), 1.79 KB, created by
Ere Maijala
on 2019-02-27 14:14:55 UTC
(
hide
)
Description:
Bug 20664: (follow-up) Fix tests on rebase
Filename:
MIME Type:
Creator:
Ere Maijala
Created:
2019-02-27 14:14:55 UTC
Size:
1.79 KB
patch
obsolete
>From 464bc0bdb22633f2ccccf7700fa4a0ff73e93029 Mon Sep 17 00:00:00 2001 >From: Ere Maijala <ere.maijala@helsinki.fi> >Date: Wed, 27 Feb 2019 15:59:23 +0200 >Subject: [PATCH] Bug 20664: (follow-up) Fix tests on rebase > >--- > t/db_dependent/Items.t | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/t/db_dependent/Items.t b/t/db_dependent/Items.t >index a838d00fba..347dab2581 100755 >--- a/t/db_dependent/Items.t >+++ b/t/db_dependent/Items.t >@@ -1021,6 +1021,7 @@ subtest 'tests for GetMarcItem' => sub { > restricted => 1, > itemcallnumber => "", > cn_sort => "", >+ itype => 'itemtype' > } > }); > my $get_itemnumber = $item1->itemnumber; >@@ -1067,7 +1068,7 @@ subtest 'tests for GetMarcItemFields' => sub { > withdrawn => 0, > } > }); >- push @items, GetItem( $item1->itemnumber ); >+ push @items, Koha::Items->find( $item1->itemnumber )->unblessed; > my $item2 = $builder->build_object({ > class => 'Koha::Items', > value => { >@@ -1082,7 +1083,7 @@ subtest 'tests for GetMarcItemFields' => sub { > withdrawn => 0, > } > }); >- push @items, GetItem( $item2->itemnumber ); >+ push @items, Koha::Items->find( $item2->itemnumber )->unblessed; > my $item3 = $builder->build_object({ > class => 'Koha::Items', > value => { >@@ -1097,7 +1098,7 @@ subtest 'tests for GetMarcItemFields' => sub { > withdrawn => 1, > } > }); >- push @items, GetItem( $item3->itemnumber ); >+ push @items, Koha::Items->find( $item3->itemnumber )->unblessed; > > #Get the marc for our items individually for comparison later > my $item1_marc = C4::Items::GetMarcItem( $biblio->{biblionumber}, $item1->itemnumber ); >-- >2.17.1
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 20664
:
74873
|
75968
|
76045
|
76046
|
76669
|
78868
|
78869
|
78870
|
79225
|
79227
|
79228
|
79229
|
79276
|
79277
|
79278
|
79279
|
84516
|
84517
|
84518
|
84519
|
84520
|
85106
|
85107
|
85108
|
85109
|
85110
|
85776
|
85777
|
85778
|
85779
|
85780
|
85781
|
85898
|
85899
|
85900
|
85901
|
85902
|
85903
|
85904
|
85905
|
86002
|
86003
|
86004
|
86005
|
86006
|
86007
|
86008
|
86009