From aaa9bd5989f6031aff4d5591821e3d5ae53cb9a2 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) Signed-off-by: Martin Renvoize --- 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 15a885da9f..115e384d33 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.17.1