projects
/
koha_fer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4abafc
)
Bug 10845: (follow-up) update how a test case counts print hold available notices
author
Galen Charlton
<gmc@esilibrary.com>
Fri, 2 May 2014 19:01:37 +0000
(19:01 +0000)
committer
Galen Charlton
<gmc@esilibrary.com>
Fri, 2 May 2014 20:29:19 +0000
(20:29 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/Reserves.t
patch
|
blob
|
history
diff --git
a/t/db_dependent/Reserves.t
b/t/db_dependent/Reserves.t
index
af9d7a9
..
0698534
100755
(executable)
--- a/
t/db_dependent/Reserves.t
+++ b/
t/db_dependent/Reserves.t
@@
-399,7
+399,10
@@
$dbh->rollback;
sub count_hold_print_messages {
my $message_count = $dbh->selectall_arrayref(q{
- SELECT COUNT(*) FROM message_queue WHERE letter_code = 'HOLD_PRINT'
+ SELECT COUNT(*)
+ FROM message_queue
+ WHERE letter_code = 'HOLD'
+ AND message_transport_type = 'print'
});
return $message_count->[0]->[0];
}