Browse Source

Bug 10667: (follow-up) fix reference to UT library in test case

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>
new/bootstrap-opac
Galen Charlton 9 years ago
parent
commit
2a8481a5e2
  1. 2
      t/db_dependent/ILSDI_Services.t

2
t/db_dependent/ILSDI_Services.t

@ -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');");
}

Loading…
Cancel
Save