|
Lines 914-920
subtest 'itemtype group tests' => sub {
Link Here
|
| 914 |
my $issue = C4::Circulation::AddIssue( $patron, $checkout_item->barcode, dt_from_string() ); |
914 |
my $issue = C4::Circulation::AddIssue( $patron, $checkout_item->barcode, dt_from_string() ); |
| 915 |
like( $issue->issue_id, qr|^\d+$|, 'The issue should have been inserted' ); |
915 |
like( $issue->issue_id, qr|^\d+$|, 'The issue should have been inserted' ); |
| 916 |
|
916 |
|
| 917 |
#Patron has 1 checkout of parent itemtype {{{{ child itype1 |
917 |
#Patron has 1 checkout of parent itemtype |
| 918 |
|
918 |
|
| 919 |
my $parent_iq_rule = $builder->build_object( |
919 |
my $parent_iq_rule = $builder->build_object( |
| 920 |
{ |
920 |
{ |
|
Lines 1051-1059
subtest 'itemtype group tests' => sub {
Link Here
|
| 1051 |
); |
1051 |
); |
| 1052 |
|
1052 |
|
| 1053 |
#increase parent type to greater than specific |
1053 |
#increase parent type to greater than specific |
| 1054 |
# my $circ_rule_object = |
|
|
| 1055 |
# Koha::CirculationRules->find( $parent_iq_rule->{id} ); |
| 1056 |
# $circ_rule_object->rule_value(4)->store(); |
| 1057 |
$parent_iq_rule->rule_value(4)->store(); |
1054 |
$parent_iq_rule->rule_value(4)->store(); |
| 1058 |
|
1055 |
|
| 1059 |
|
1056 |
|
| 1060 |
- |
|
|