projects
/
srvgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d581f9
)
Fixing the VirtualShelves test
author
Chris Cormack
<chrisc@catalyst.net.nz>
Sat, 4 Sep 2010 07:59:25 +0000
(19:59 +1200)
committer
Galen Charlton
<gmcharlt@gmail.com>
Wed, 6 Oct 2010 11:58:34 +0000
(07:58 -0400)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
t/db_dependent/VirtualShelves.t
patch
|
blob
|
history
diff --git
a/t/db_dependent/VirtualShelves.t
b/t/db_dependent/VirtualShelves.t
index
f4110fa
..
00cb032
100755
(executable)
--- 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);