Bugzilla – Attachment 61199 Details for
Bug 18265
Should biblio_metadata.biblionumber be biblioitemnumber instead?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18265 - Followup to Buuug 17196. Fix t/db_dependent/Exporter/Record.t
Bug-18265---Followup-to-Buuug-17196-Fix-tdbdepende.patch (text/plain), 1.50 KB, created by
Olli-Antti Kivilahti
on 2017-03-17 08:01:16 UTC
(
hide
)
Description:
Bug 18265 - Followup to Buuug 17196. Fix t/db_dependent/Exporter/Record.t
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2017-03-17 08:01:16 UTC
Size:
1.50 KB
patch
obsolete
>From 10f0083de75fbbfe1df26f178a43d1e4d142aec9 Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> >Date: Fri, 17 Mar 2017 10:00:55 +0200 >Subject: [PATCH] Bug 18265 - Followup to Buuug 17196. Fix > t/db_dependent/Exporter/Record.t > >--- > t/db_dependent/Exporter/Record.t | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Exporter/Record.t b/t/db_dependent/Exporter/Record.t >index b3ef6c1..aa7081a 100644 >--- a/t/db_dependent/Exporter/Record.t >+++ b/t/db_dependent/Exporter/Record.t >@@ -33,6 +33,7 @@ use C4::Context; > use Koha::Database; > use Koha::Biblio; > use Koha::Biblioitem; >+use Koha::Biblioitems; > use Koha::Exporter::Record; > use Koha::Biblio::Metadata; > >@@ -59,8 +60,9 @@ $biblio_2->append_fields( > my ($biblionumber_2, $biblioitemnumber_2) = AddBiblio($biblio_2, ''); > > my $bad_biblio = Koha::Biblio->new()->store(); >-Koha::Biblio::Metadata->new( { biblionumber => $bad_biblio->id, format => 'marcxml', metadata => 'something wrong', marcflavour => C4::Context->preference('marcflavour') } )->store(); > my $bad_biblionumber = $bad_biblio->id; >+my $bad_biblioitem = Koha::Biblioitem->new({biblionumber => $bad_biblionumber})->store(); >+Koha::Biblio::Metadata->new( { biblioitemnumber => $bad_biblioitem->biblioitemnumber, biblionumber => $bad_biblio->id, format => 'marcxml', metadata => 'something wrong', marcflavour => C4::Context->preference('marcflavour') } )->store(); > > my $builder = t::lib::TestBuilder->new; > my $item_1_1 = $builder->build({ >-- >2.7.4
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 18265
:
61090
|
61096
|
61097
|
61098
|
61101
| 61199