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 <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
12e18f91be
commit
516e8e8067
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue