View | Details | Raw Unified | Return to bug 18361
Collapse All | Expand All

(-)a/t/db_dependent/Koha/Objects.t (-2 / +3 lines)
Lines 100-106 subtest 'new' => sub { Link Here
100
};
100
};
101
101
102
subtest 'find' => sub {
102
subtest 'find' => sub {
103
    plan tests => 4;
103
    plan tests => 5;
104
104
105
    # check find on a single PK
105
    # check find on a single PK
106
    my $patron = $builder->build({ source => 'Borrower' });
106
    my $patron = $builder->build({ source => 'Borrower' });
Lines 123-128 subtest 'find' => sub { Link Here
123
    my @pk = ( $rule->{branchcode}, $rule->{categorycode}, $rule->{itemtype} );
123
    my @pk = ( $rule->{branchcode}, $rule->{categorycode}, $rule->{itemtype} );
124
    is( ref(Koha::IssuingRules->find(@pk)), "Koha::IssuingRule",
124
    is( ref(Koha::IssuingRules->find(@pk)), "Koha::IssuingRule",
125
        'Find returned a Koha object for composite primary key' );
125
        'Find returned a Koha object for composite primary key' );
126
127
    is( Koha::Patrons->find(), undef, 'Find returns undef if no params passed' );
126
};
128
};
127
129
128
subtest 'search_related' => sub {
130
subtest 'search_related' => sub {
129
- 

Return to bug 18361