Bugzilla – Attachment 91116 Details for
Bug 23225
OPAC ISBD view returns 404 when no item attached
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23225: Regression tests
Bug-23225-Regression-tests.patch (text/plain), 1.02 KB, created by
Tomás Cohen Arazi (tcohen)
on 2019-06-28 18:49:20 UTC
(
hide
)
Description:
Bug 23225: Regression tests
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2019-06-28 18:49:20 UTC
Size:
1.02 KB
patch
obsolete
>From c5700290dbab1ed7ba3134317d773ee20b959485 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 28 Jun 2019 15:49:05 -0300 >Subject: [PATCH] Bug 23225: Regression tests > >--- > t/db_dependent/Koha/Biblio.t | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/Biblio.t b/t/db_dependent/Koha/Biblio.t >index f123a314a6..58cbdcc9a0 100644 >--- a/t/db_dependent/Koha/Biblio.t >+++ b/t/db_dependent/Koha/Biblio.t >@@ -62,7 +62,7 @@ subtest 'metadata() tests' => sub { > > subtest 'hidden_in_opac() tests' => sub { > >- plan tests => 3; >+ plan tests => 4; > > $schema->storage->txn_begin; > >@@ -85,6 +85,9 @@ subtest 'hidden_in_opac() tests' => sub { > > ok( $biblio->hidden_in_opac({ rules => { withdrawn => [ 2 ] } }), 'Biblio hidden' ); > >+ my $biblio_without_items = $builder->build_sample_biblio(); >+ ok( !$biblio->hidden_in_opac({ rules => { withdrawn => [ 2 ] } }), 'Biblio without items is not hidden' ); >+ > $schema->storage->txn_rollback; > }; > >-- >2.22.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 23225
:
91047
|
91116
|
91117
|
91118
|
91119
|
91120