Bugzilla – Attachment 131866 Details for
Bug 29486
_koha_marc_update_bib_ids no longer needed for GetMarcBiblio
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29486: Fix tests
Bug-29486-Fix-tests.patch (text/plain), 1.79 KB, created by
Martin Renvoize (ashimema)
on 2022-03-18 10:14:06 UTC
(
hide
)
Description:
Bug 29486: Fix tests
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-03-18 10:14:06 UTC
Size:
1.79 KB
patch
obsolete
>From b61f8a7d1eef8b1d2f300282cb4f3f3b2851c078 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 19 Jan 2022 14:39:51 +0100 >Subject: [PATCH] Bug 29486: Fix tests > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/db_dependent/Biblio.t | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > >diff --git a/t/db_dependent/Biblio.t b/t/db_dependent/Biblio.t >index b3d971d833..ff0857a296 100755 >--- a/t/db_dependent/Biblio.t >+++ b/t/db_dependent/Biblio.t >@@ -420,8 +420,6 @@ sub run_tests { > > is( GetMarcPrice( $record_for_isbn, $marcflavour ), 100, > "GetMarcPrice returns the correct value"); >- my $newincbiblioitemnumber=$biblioitemnumber+1; >- $dbh->do("UPDATE biblioitems SET biblioitemnumber = ? WHERE biblionumber = ?;", undef, $newincbiblioitemnumber, $biblionumber ); > my $updatedrecord = GetMarcBiblio({ > biblionumber => $biblionumber, > embed_items => 0 }); >@@ -434,7 +432,6 @@ sub run_tests { > } else { > $biblioitemnumbertotest = $updatedrecord->field($biblioitem_tag)->subfield($biblioitem_subfield); > } >- is ($newincbiblioitemnumber, $biblioitemnumbertotest, 'Check newincbiblioitemnumber'); > > # test for GetMarcUrls > $marc_record->append_fields( >@@ -597,14 +594,14 @@ sub create_author_field { > } > > subtest 'MARC21' => sub { >- plan tests => 47; >+ plan tests => 46; > run_tests('MARC21'); > $schema->storage->txn_rollback; > $schema->storage->txn_begin; > }; > > subtest 'UNIMARC' => sub { >- plan tests => 47; >+ plan tests => 46; > > # Mock the auth type data for UNIMARC > $dbh->do("UPDATE auth_types SET auth_tag_to_report = '106' WHERE auth_tag_to_report = '100'") or die $dbh->errstr; >-- >2.20.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 29486
:
127682
|
129608
|
129609
|
129610
|
131861
|
131862
|
131863
|
131865
| 131866 |
131867