Bug 16170: [QA Follow-up] Fix embeded typos
Just noticed this typo three times here. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
1608b89b7f
commit
6e0b6ecf13
|
|
@ -529,14 +529,14 @@ subtest 'C4::Biblio::EmbedItemsInMarcBiblio' => sub {
|
|||
@items = $record->field($itemfield);
|
||||
is( scalar @items,
|
||||
$number_of_items,
|
||||
'Even with OpacHiddenItems set, all items should have been embeded' );
|
||||
'Even with OpacHiddenItems set, all items should have been embedded' );
|
||||
|
||||
C4::Biblio::EmbedItemsInMarcBiblio( $record, $biblionumber, undef, 1 );
|
||||
@items = $record->field($itemfield);
|
||||
is(
|
||||
scalar @items,
|
||||
$number_of_items - $number_of_items_with_homebranch_is_CPL,
|
||||
'For OPAC, the pref OpacHiddenItems should have been take into account. Only items with homebranch ne CPL should have been embeded'
|
||||
'For OPAC, the pref OpacHiddenItems should have been take into account. Only items with homebranch ne CPL should have been embedded'
|
||||
);
|
||||
|
||||
$opachiddenitems = "
|
||||
|
|
@ -547,7 +547,7 @@ subtest 'C4::Biblio::EmbedItemsInMarcBiblio' => sub {
|
|||
is(
|
||||
scalar @items,
|
||||
0,
|
||||
'For OPAC, If all items are hidden, no item should have been embeded'
|
||||
'For OPAC, If all items are hidden, no item should have been embedded'
|
||||
);
|
||||
|
||||
$schema->storage->txn_rollback;
|
||||
|
|
|
|||
Loading…
Reference in New Issue