From 9b0bd43f10316d93fa3de24f261730f344df884f Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Sat, 4 Sep 2010 19:59:25 +1200 Subject: [PATCH] Fixing the VirtualShelves test Signed-off-by: Galen Charlton --- t/db_dependent/VirtualShelves.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/VirtualShelves.t b/t/db_dependent/VirtualShelves.t index f4110faa8e..00cb032ab9 100755 --- a/t/db_dependent/VirtualShelves.t +++ b/t/db_dependent/VirtualShelves.t @@ -116,7 +116,7 @@ for(my $i=0; $i<10;$i++){ # same thing with AddToShelfFromBiblio - my $biblionumber = $biblionumbers[int(rand(10))]; + my $biblionumber = $biblionumbers[int(rand(9))]; &AddToShelfFromBiblio($biblionumber, $shelfnumber); my ($AfterAgain,$countagain) = GetShelfContents($shelfnumber); ok($countafter, $countagain -1); -- 2.39.2