From 72052554ce6ad0594fb3749f5242340b56b7084a Mon Sep 17 00:00:00 2001 From: Nick Clemens 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