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>
This commit is contained in:
parent
8e0c21cf38
commit
2a8481a5e2
|
|
@ -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…
Reference in New Issue