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: Fridolin SOMERS <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2013-12-24 10:09:10 +01:00 committed by Fridolin SOMERS
parent c4ecc58fdb
commit ebf2237df4
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,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 );