Bug 10289: (follow-up) don't set cardnumber for test patron
authorGalen Charlton <gmc@esilibrary.com>
Mon, 8 Jul 2013 14:29:32 +0000 (14:29 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 8 Jul 2013 14:29:32 +0000 (14:29 +0000)
Since the patron barcode is nullable, and since the tests using
the test patron don't care what the barcode is, don't set it.  This
avoids the tests failing if the test database happens to already
have a patron record with the hard-coded barcode that used
to be supplied.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/Reserves.t

index 2c274a2..0e0852a 100755 (executable)
@@ -41,7 +41,6 @@ ModItem({ barcode => $testbarcode }, $bibnum, $itemnumber);
 
 # Create a borrower
 my %data = (
-    cardnumber => 'CARDNUMBER42',
     firstname =>  'my firstname',
     surname => 'my surname',
     categorycode => 'S',