Bugzilla – Attachment 188144 Details for
Bug 41054
Standard ILL form should consider eISSN field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41054: Add test
Bug-41054-Add-test.patch (text/plain), 1.62 KB, created by
Pedro Amorim
on 2025-10-20 09:26:51 UTC
(
hide
)
Description:
Bug 41054: Add test
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2025-10-20 09:26:51 UTC
Size:
1.62 KB
patch
obsolete
>From 4e7a16eac1aa002f715da348d14fd681fdccaed8 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@openfifth.co.uk> >Date: Mon, 20 Oct 2025 09:25:21 +0000 >Subject: [PATCH] Bug 41054: Add test > >prove t/db_dependent/Koha/ILL/Backend/Standard.t >--- > t/db_dependent/Koha/ILL/Backend/Standard.t | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/ILL/Backend/Standard.t b/t/db_dependent/Koha/ILL/Backend/Standard.t >index 94193aa9415..5e6aea6e25c 100755 >--- a/t/db_dependent/Koha/ILL/Backend/Standard.t >+++ b/t/db_dependent/Koha/ILL/Backend/Standard.t >@@ -116,7 +116,7 @@ subtest 'edititem() tests' => sub { > > subtest 'metadata() tests' => sub { > >- plan tests => 8; >+ plan tests => 9; > > $schema->storage->txn_begin; > >@@ -129,6 +129,7 @@ subtest 'metadata() tests' => sub { > title => 'Test Title', > author => 'Test Author', > isbn => '1234567890', >+ eissn => 'eissntest', > year => '2023', > custom_field => 'custom_value', > >@@ -150,6 +151,7 @@ subtest 'metadata() tests' => sub { > is( $metadata->{Title}, 'Test Title', 'Title included in metadata' ); > is( $metadata->{Author}, 'Test Author', 'Author included in metadata' ); > is( $metadata->{ISBN}, '1234567890', 'ISBN included in metadata' ); >+ is( $metadata->{eISSN}, 'eissntest', 'eISSN included in metadata' ); > is( $metadata->{Year}, '2023', 'Year included in metadata' ); > is( $metadata->{Custom_field}, 'custom_value', 'Custom field included in metadata' ); > >-- >2.39.5
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 41054
:
188144
|
188145
|
188161
|
188166
|
188231
|
188232
|
188233