From 81133cf2c2238aaff3b3594b95211c689d2dae61 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 24 Dec 2013 10:09:10 +0100 Subject: [PATCH] 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 Signed-off-by: Galen Charlton --- t/db_dependent/XISBN.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/XISBN.t b/t/db_dependent/XISBN.t index e63bb2a20c..01bcc0f97d 100755 --- a/t/db_dependent/XISBN.t +++ b/t/db_dependent/XISBN.t @@ -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 ); -- 2.39.5