Bug 10667: (follow-up) fix reference to UT library in test case
authorGalen Charlton <gmc@esilibrary.com>
Mon, 16 Sep 2013 19:22:22 +0000 (19:22 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 16 Sep 2013 19:22:22 +0000 (19:22 +0000)
This patch prevents a spurious test case failure if the
test database happens to already have a library whose
code is 'UT'.

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

index 9b68604..43fbeea 100644 (file)
@@ -38,7 +38,7 @@ unless ( GetBorrowercategory('UT') ) {
 }
 
 # Create branch
-unless ( GetBranchDetail('DEMO') ) {
+unless ( GetBranchDetail('UT') ) {
     $dbh->do("INSERT INTO branches (branchcode,branchname) VALUES ('UT','Unit test library');");
 }