Bug 17909: Followup - fix typos
Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> EDIT: Adjusted three small typos that did not disturb the test in its current form, but do when we are fixing bugs on bug 17913. Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Mason James <mtj@kohaaloha.com>
This commit is contained in:
parent
cac98af1f4
commit
f61451ff0f
|
|
@ -38,7 +38,7 @@ set_mocks();
|
|||
# Framework operations
|
||||
my ( $authtype1, $authtype2 ) = modify_framework();
|
||||
|
||||
subtest 'Test merge A1 to A2 (withing same authtype)' => sub {
|
||||
subtest 'Test merge A1 to A2 (within same authtype)' => sub {
|
||||
# Tests originate from bug 11700
|
||||
plan tests => 9;
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ subtest 'Test merge A1 to modified A1' => sub {
|
|||
compare_field_count( $MARC1, $biblio1, 1 );
|
||||
compare_field_order( $MARC1, $biblio1, 1 );
|
||||
is( $auth1new->field(109)->subfield('a'), $biblio1->field(109)->subfield('a'), 'Record1 values updated correctly' );
|
||||
my $biblio2 = GetMarcBiblio($biblionumber1);
|
||||
my $biblio2 = GetMarcBiblio( $biblionumber2 );
|
||||
compare_field_count( $MARC2, $biblio2, 1 );
|
||||
compare_field_order( $MARC2, $biblio2, 1 );
|
||||
is( $auth1new->field(109)->subfield('a'), $biblio2->field(109)->subfield('a'), 'Record2 values updated correctly' );
|
||||
|
|
@ -233,7 +233,7 @@ sub modify_framework {
|
|||
},
|
||||
});
|
||||
|
||||
# Link 112/712 to the second authtype
|
||||
# Link 112/612 to the second authtype
|
||||
$builder->build({
|
||||
source => 'MarcSubfieldStructure',
|
||||
value => {
|
||||
|
|
@ -246,7 +246,7 @@ sub modify_framework {
|
|||
$builder->build({
|
||||
source => 'MarcSubfieldStructure',
|
||||
value => {
|
||||
tagfield => '712',
|
||||
tagfield => '612',
|
||||
tagsubfield => 'a',
|
||||
authtypecode => $authtype2->{authtypecode},
|
||||
frameworkcode => '',
|
||||
|
|
|
|||
Loading…
Reference in New Issue