Bug 11439: UT: fix XISBN.t test failure
A unit test fails in t/db_dependent/XISBN.t, the get_xisbn routine, if
ThingISBN is enabled, returns the 3rd biblionumber, not the second one.
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 81133cf2c2)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
8457d4c04e
commit
c982bcfe90
|
|
@ -51,7 +51,7 @@ $context->set_preference( 'ThingISBN', 1 );
|
|||
$context->set_preference( 'XISBN', 0 );
|
||||
my $results_thingisbn = C4::XISBN::get_xisbns($isbn1);
|
||||
is( $results_thingisbn->[0]->{biblionumber},
|
||||
$biblionumber2,
|
||||
$biblionumber3,
|
||||
"Gets correct biblionumber from a book with a similar isbn using ThingISBN." );
|
||||
|
||||
$context->set_preference( 'ThingISBN', 0 );
|
||||
|
|
|
|||
Loading…
Reference in New Issue