Lines 113-119
my $current_messages_count = $patron_obj->messages->count;
Link Here
|
113 |
is( $patron_obj->messages->filter_by_unread->count, $current_messages_count, "No messages have been marked as read" ); |
113 |
is( $patron_obj->messages->filter_by_unread->count, $current_messages_count, "No messages have been marked as read" ); |
114 |
$new_message_4->update({ patron_read_date => dt_from_string }); |
114 |
$new_message_4->update({ patron_read_date => dt_from_string }); |
115 |
is( $patron_obj->messages->filter_by_unread->count, $current_messages_count - 1, "One message has been marked as read" ); |
115 |
is( $patron_obj->messages->filter_by_unread->count, $current_messages_count - 1, "One message has been marked as read" ); |
116 |
$new_message_4->update({ patron_read_date => undef }); |
|
|
117 |
|
116 |
|
118 |
$schema->storage->txn_rollback; |
117 |
$schema->storage->txn_rollback; |
119 |
|
118 |
|
120 |
- |
|
|