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

(-)a/t/db_dependent/Koha/Patrons.t (-1 / +3 lines)
Lines 87-92 subtest 'library' => sub { Link Here
87
87
88
subtest 'guarantees' => sub {
88
subtest 'guarantees' => sub {
89
    plan tests => 13;
89
    plan tests => 13;
90
91
    t::lib::Mocks::mock_preference( 'borrowerRelationship', 'test|test2' );
92
90
    my $guarantees = $new_patron_1->guarantee_relationships;
93
    my $guarantees = $new_patron_1->guarantee_relationships;
91
    is( ref($guarantees), 'Koha::Patron::Relationships', 'Koha::Patron->guarantees should return a Koha::Patrons result set in a scalar context' );
94
    is( ref($guarantees), 'Koha::Patron::Relationships', 'Koha::Patron->guarantees should return a Koha::Patrons result set in a scalar context' );
92
    is( $guarantees->count, 0, 'new_patron_1 should have 0 guarantee relationships' );
95
    is( $guarantees->count, 0, 'new_patron_1 should have 0 guarantee relationships' );
93
- 

Return to bug 14570