Bugzilla – Attachment 77146 Details for
Bug 21095
Tests should expect ccodes facets now (since we have ccode facets)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21095: Add ccode facets info to tests
Bug-21095-Add-ccode-facets-info-to-tests.patch (text/plain), 1.60 KB, created by
Nick Clemens (kidclamp)
on 2018-07-20 02:08:35 UTC
(
hide
)
Description:
Bug 21095: Add ccode facets info to tests
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-07-20 02:08:35 UTC
Size:
1.60 KB
patch
obsolete
>From 72052554ce6ad0594fb3749f5242340b56b7084a Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 20 Jul 2018 02:06:24 +0000 >Subject: [PATCH] Bug 21095: Add ccode facets info to tests > >To test: >1 - prove -v t/db_dependent/Search.t >2 - Koha asks "Why am I getting these crazy facets!?!" >3 - Apply patch >4 - prove -v t/db_dependent/Search.t >5 - Koha purrs (tests pass) >--- > t/db_dependent/Search.t | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t >index 15a885d..115e384 100644 >--- a/t/db_dependent/Search.t >+++ b/t/db_dependent/Search.t >@@ -855,6 +855,8 @@ if ( $indexing_mode eq 'dom' ) { > my $expected_facets_info_marc21 = { > 'au' => { 'expanded' => undef, > 'label_value' => "Authors" }, >+ 'ccode' => { 'expanded' => undef, >+ 'label_value' => "CollectionCodes" }, > 'holdingbranch' => { 'expanded' => undef, > 'label_value' => "HoldingLibrary" }, > 'itype' => { 'expanded' => undef, >@@ -953,6 +955,8 @@ sub run_unimarc_search_tests { > my $expected_facets_info_unimarc = { > 'au' => { 'expanded' => undef, > 'label_value' => "Authors" }, >+ 'ccode' => { 'expanded' => undef, >+ 'label_value' => "CollectionCodes" }, > 'holdingbranch' => { 'expanded' => undef, > 'label_value' => "HoldingLibrary" }, > 'location' => { 'expanded' => undef, >-- >2.1.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 21095
:
77146
|
77151