From 9c90b651f2a1a4420a0b5b7865c0796c1d6b8764 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 8 Jul 2013 14:29:32 +0000 Subject: [PATCH] Bug 10289: (follow-up) don't set cardnumber for test patron 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 (cherry picked from commit 7957dd2a06cd20997f50f49aa1b77e24589ae71c) Signed-off-by: Tomas Cohen Arazi --- t/db_dependent/Reserves.t | 1 - 1 file changed, 1 deletion(-) diff --git a/t/db_dependent/Reserves.t b/t/db_dependent/Reserves.t index 2c274a2c82..0e0852aaf9 100755 --- a/t/db_dependent/Reserves.t +++ b/t/db_dependent/Reserves.t @@ -41,7 +41,6 @@ ModItem({ barcode => $testbarcode }, $bibnum, $itemnumber); # Create a borrower my %data = ( - cardnumber => 'CARDNUMBER42', firstname => 'my firstname', surname => 'my surname', categorycode => 'S', -- 2.39.5