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:
Marcel de Rooy 2016-04-01 09:34:50 +02:00 committed by Kyle M Hall
parent 1608b89b7f
commit 6e0b6ecf13
1 changed files with 3 additions and 3 deletions

View File

@ -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;