From f292572c55da896c80bf2724374e24e080a0b509 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 24 Dec 2013 10:09:10 +0100 Subject: [PATCH] Bug 11439: UT: XISBN.t returns 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 --- 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 e63bb2a..01bcc0f 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 ); -- 1.8.5.2