projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e0c21c
)
Bug 10667: (follow-up) fix reference to UT library in test case
author
Galen Charlton
<gmc@esilibrary.com>
Mon, 16 Sep 2013 19:22:22 +0000
(19:22 +0000)
committer
Galen 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
patch
|
blob
|
history
diff --git
a/t/db_dependent/ILSDI_Services.t
b/t/db_dependent/ILSDI_Services.t
index
9b68604
..
43fbeea
100644
(file)
--- a/
t/db_dependent/ILSDI_Services.t
+++ b/
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');");
}